Topic: Not Found /rewrite.php - SEF Url's

I activated SEF URL (File Based, Fancy) , url scheme but now nothing is working except the main page. If I open a page .

Not Found
The requested URL /rewrite.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.39 Server at www.site.com Port 80

Web 2.0, AJAX & Me | AutoPundit
GFXedit Designs  - Free & Custom CSS Designs and Wordpress themes.

Re: Not Found /rewrite.php - SEF Url's

have you configured .htaccess and does /rewite.php exist?

Sorry. Unactive due to personal life.

Re: Not Found /rewrite.php - SEF Url's

yes , i have uploaded the .htaccess and /rewrite.php

btw, rewrite.php n .htaccess has to be in the forums/ folder or in main root/ ? I have punbb and rewrite in /forums .

Web 2.0, AJAX & Me | AutoPundit
GFXedit Designs  - Free & Custom CSS Designs and Wordpress themes.

Re: Not Found /rewrite.php - SEF Url's

forums. You also have to edit it to set RewriteBase properly.

Re: Not Found /rewrite.php - SEF Url's

forums. You also have to edit it to set RewriteBase properly.

I did not get you . How and what to edit ?

Web 2.0, AJAX & Me | AutoPundit
GFXedit Designs  - Free & Custom CSS Designs and Wordpress themes.

Re: Not Found /rewrite.php - SEF Url's

Sr-ultimate wrote:

forums. You also have to edit it to set RewriteBase properly.

I did not get you . How and what to edit ?

Look in the .htaccess file and you will see what he means to change.

Off-Topic:
You signature needs fixing.

[url= PUT URL HERE]LINK TEXT[/url]

Re: Not Found /rewrite.php - SEF Url's

Hmm, its

# BEGIN PunBB

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /rewrite.php [L]
</IfModule>

# END PunBB

Web 2.0, AJAX & Me | AutoPundit
GFXedit Designs  - Free & Custom CSS Designs and Wordpress themes.

8 (edited by StevenBullen 2008-02-11 12:56)

Re: Not Found /rewrite.php - SEF Url's

Correct... So RewriteBase needs to be the directory where you put .htaccess file yeah.

If I do it for you... your learn nothing. tongue

Re: Not Found /rewrite.php - SEF Url's

Editing the RewriteRule and RewriteBase did the job. Thanks.  smile

Web 2.0, AJAX & Me | AutoPundit
GFXedit Designs  - Free & Custom CSS Designs and Wordpress themes.

Re: Not Found /rewrite.php - SEF Url's

Im pretty sure that you do not need to change RewriteRule only RewriteBase. wink

But dont hold me to that. It was a while ago I put 1.3 in a sub-directory.

Re: Not Found /rewrite.php - SEF Url's

Actually, I tried without editing Rewrite rule but it did not work .

Web 2.0, AJAX & Me | AutoPundit
GFXedit Designs  - Free & Custom CSS Designs and Wordpress themes.

Re: Not Found /rewrite.php - SEF Url's

StevenBullen: If it starts with a trailing slash then it needs to be edited wink

Re: Not Found /rewrite.php - SEF Url's

Cheers tongue