Members: 16,996
Threads: 38,845
Posts: 159,389
Online: 22

Newest Member: Kl_broka@rediffmail.com


Odoo.tv - Outdoor Television


Sedo - Domains kaufen und verkaufen das Projekt mambers.com steht zum Verkauf Besucherstatistiken von mambers.com etracker® Web-Controlling statt Logfile-Analyse
Old 25.04.2004, 17:13   #1 (permalink)
Baby Mamber
 
Join Date: Apr 2004
Posts: 17
danews is on a distinguished road
Default SEF issues with Apache 1.3.27

I have MamboV4.5-Stable-1.0.7 with SEF enabled in configuration.php..

$mosConfig_sef = '1';

this is what I have in my .htaccess

RewriteEngine On
RewriteRule ^content(.*) index.php
RewriteRule ^component/(.*) index.php
DirectoryIndex index.php

The main page loads, but if you click pretty much anything on the page it gives you 404 errors..

Not Found
The requested URL /content/view/1/2/ was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Not Found

The requested URL /content/view/4/2/ was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Not Found

The requested URL /component/option,com_weblinks/Itemid,4/ was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


Did I miss a step? Thanks
__________________
Digital Audio News
danews is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Old 25.04.2004, 17:28   #2 (permalink)
Senior Mamber
 
SvenErik's Avatar
 
Join Date: Apr 2004
Location: Mo i Rana, Norway (66°19'N 14°09'E)
Posts: 214
SvenErik is on a distinguished road
Default Re: SEF issues with Apache 1.3.27

Is your Apache server using the mod_rewrite module? http://httpd.apache.org/docs/mod/mod_rewrite.html. If not, then SEF won't work...
__________________
"Every demand is a prison, and wisdom is only free when it asks nothing."
Sir Bertrand Russell
SvenErik is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 25.04.2004, 17:35   #3 (permalink)
Baby Mamber
 
Join Date: Apr 2004
Posts: 17
danews is on a distinguished road
Default Re: SEF issues with Apache 1.3.27

Quote:
Originally Posted by SvenErik
Is your Apache server using the mod_rewrite module? http://httpd.apache.org/docs/mod/mod_rewrite.html. If not, then SEF won't work...
Yes, I have this in the conf..

LoadModule rewrite_module modules/mod_rewrite.so

AddModule mod_rewrite.c

Do I need any specific RewriteEngine or AllowOverride directives set? I tried AllowOverride All but that just gave me 404 error when trying to access the main page..
__________________
Digital Audio News
danews is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 25.04.2004, 19:25   #4 (permalink)
Mamber
 
Join Date: Apr 2004
Posts: 121
Raydian is an unknown quantity at this point
Default Re: SEF issues with Apache 1.3.27

try adding any of the options you may not have in your <Directory> directive

Options Indexes MultiViews FollowSymLinks

I believe you will need the FollowSymLinks to get SEFs to work.

... and this DirectoryIndex index.php would be better if it was in your conf file.
Raydian is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 25.04.2004, 19:29   #5 (permalink)
Baby Mamber
 
Join Date: Apr 2004
Posts: 17
danews is on a distinguished road
Default Re: SEF issues with Apache 1.3.27

Hmm.. strange.. still nothing

I set this in the httpd.conf

<Directory "/home/danews/public_html">
Options Indexes MultiViews FollowSymLinks
DirectoryIndex index.php
</Directory>

the articles still dont link and go to 404 page.. any other ideas?
__________________
Digital Audio News
danews is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 25.04.2004, 19:48   #6 (permalink)
Mamber
 
Join Date: Apr 2004
Posts: 121
Raydian is an unknown quantity at this point
Default Re: SEF issues with Apache 1.3.27

This may be a silly question, but are you restarting your server with each change?

Also, it looks like the .htaccess file is not being found by your server. SEFs should be working with what I see so far.
Raydian is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 25.04.2004, 19:56   #7 (permalink)
Mamber
 
Join Date: Apr 2004
Posts: 121
Raydian is an unknown quantity at this point
Default Re: SEF issues with Apache 1.3.27

If you are running Apache on Windows, you will need to put a / forward slash in front of each index.php:

Current...
RewriteRule ^content(.*) index.php
RewriteRule ^component/(.*) index.php

Change to...
RewriteRule ^content(.*) /index.php
RewriteRule ^component/(.*) /index.php


You didn't mention which OS your on.
Raydian is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 25.04.2004, 19:58   #8 (permalink)
Baby Mamber
 
Join Date: Apr 2004
Posts: 17
danews is on a distinguished road
Default Re: SEF issues with Apache 1.3.27

Ok its working now.. I think you were right.. it might not have been reading the .htaccess.. so now i have this as my directives..

<Directory "/home/danews/public_html">
Options Indexes MultiViews FollowSymLinks
DirectoryIndex index.php
AllowOverride All
</Directory>

Thanks for the help :> cheers
__________________
Digital Audio News
danews is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 25.04.2004, 20:06   #9 (permalink)
Mamber
 
Join Date: Apr 2004
Posts: 121
Raydian is an unknown quantity at this point
Default Re: SEF issues with Apache 1.3.27

Good deals!
Raydian is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
i installed apache server on my pc (winxp) and i got Dorown Mambo 4.5 Installation and Upgrades 23 01.05.2004 22:56
MOS 4.5 installation problems on Apache megaman Mambo 4.5 Installation and Upgrades 13 26.04.2004 11:56
Template issues Emerica Template Discussions 1 19.04.2004 01:01
More access control and phpbb issues! muhaha Mambo 4.5 General Talk 1 16.04.2004 14:53
Remository upload issues noobnuggets Mambo 4.5 General Talk 1 07.04.2004 20:48


All times are GMT +2. The time now is 17:01.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.