Page is a not externally linkable
- Code, Content, and Presentation
-- Apache Web Server
---- myspace like - Mod rewrite dynamic URL -


hp_solomon - 4:47 am on May 17, 2008 (gmt 0)


I tested the script on my site but it doesn't work. here is the complete script of .htaccess stored in the root directory of the site

<Files "config.php">
Order Allow,Deny
Deny from All
</Files>

<Files "common.php">
Order Allow,Deny
Deny from All
</Files>

<IfModule mod_rewrite.c>
RewriteEngine on
Options +FollowSymlinks
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)/$ /memberlist.php?mode=viewprofile&un=$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^clan/([^/]+)/?$ /clan_page.php?cn==$1 [L]
</IfModule>

I got this error when accessing a url like site.com/username

Not Found

The requested URL /ridz was not found on this server.

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


Thread source:: http://www.webmasterworld.com/apache/3650882.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com