Page is a not externally linkable
- Code, Content, and Presentation
-- Apache Web Server
---- Htaccess problem


fekz - 11:15 am on Nov 29, 2012 (gmt 0)


Hello,

I want a help, if someone can help me, i appreciate..

I download a sourcecode and try to config a website in my localhost... It works, but with a little problem...

When i access:

[virtualhost...]
It doesn't work.

When I access:
[virtualhost...]
It works normaly.

string1.php is a file. I want it appears without .php

My htaccess is like this:

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} ^.*\.(php)$
RewriteRule ^([^/]+)\/([^/]+)?[\/]?([^/]+)?[\/]?([^/]+)?[\/]?([^/]+)?[\/]?$ $1?q1=$2&q2=$3&q3=$4&q4=$5 [QSA]


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