php - Error on url rewrite .htaccess -


actually, i'm not fluent in use. htaccess file, following lines of code fetched me using internet. gets unexpected error. first bug: when entered http://localhost/giccos/wall/username (pretty showing , error when add rear .php moment http://localhost/giccos/wall/username?username=username , if can fix remain http://localhost/giccos/wall/username?username=usernames2312312s page time) how fix this? want kind of facebook, if add .php normal operation.

and here mess:

options +followsymlinks -multiviews rewriteengine on  rewritebase /giccos/ rewritecond %{request_filename} -d [or]  rewritecond %{request_filename} -s  rewriterule ^.*$ - [l] rewriterule ^status/(.*).php status.php?status_id=$1 rewriterule ^hashtag/(.*).php hashtag.php?hashtag=$1 rewriterule ^wall/(.*).php wall.php?username=$1 rewriterule ^blog/(.*).php blog.php?url=$1 rewriterule ^verify/user/(.*).php verify.php?user=$1 rewriterule ^groups/(.*).php groups.php?groups_id=$1 #rewriterule ^life/(.*) $1.php rewriterule ^life/ newsfeed.php directoryindex home.php options -indexes ## auto remove .php rewritecond %{the_request} ^[a-z]{3,}\s([^.]+)\.php [nc] rewriterule ^ %1 [r,l] rewritecond %{request_filename} !-d rewritecond %{request_filename}.php -f rewriterule ^(.*?)/?$ $1.php [l] 


Comments

Popular posts from this blog

PHPMotion implementation - URL based videos (Hosted on separate location) -

javascript - Using Windows Media Player as video fallback for video tag -

c# - Unity IoC Lifetime per HttpRequest for UserStore -