Hi, my hosting (free.fr) doesn't support mod_rewrite that i need for my online manga viewer to work correctly, with the .htaccess file i have a 500 error and when a delete the .htaccess file the home page appears but the script doesn't work correctly. Can someone help me? Pm if interested. I'll pay paypal.
Modify and add this to your .htaccess in the main directory of your site Options +FollowSymLinks RewriteEngine on RewriteCond %{HTTP_HOST} ^yoursite.com RewriteRule (.*) http://www.yoursite.com/$1 [R=301,L] RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.html\ HTTP/ RewriteRule ^index\.html$ http://www.yoursite.com/ [R=301,L]
Here is my .htacces Options +FollowSymlinks RewriteEngine on RewriteRule ^mangas/([^/]+)/([^/]+)/$ - [F,L] RewriteRule ^mangas/([^/]+)/$ - [F,L] RewriteRule ^mangas(/?)$ - [F,L] RewriteRule ^([^/.]+)/([^/.]+)/([0-9]+)(/?)$ index.php?manga=$1&chapter=$2&page=$3 [L] RewriteRule ^([^/.]+)/([^/.]+)(/?)$ index.php?manga=$1&chapter=$2 [L] RewriteRule ^([^/.]+)(/?)$ index.php?manga=$1 [L] The mod_rewrite isn't supported by my hosting.
That's what I said, your only option is to find another hosting service, or ask the hoster to turn on mod rewrite (I doubt they will though)
in fact, i saw some sites on the same hosting that played with a 404 error page somehow and it works for them! http://koukihai.free.fr/blog/index.php/2007/07/28/mod_rewrite-freefr/ http://www.webrankinfo.com/forums/viewtopic_12843.htm
Yes, it's possible to create your own "mod_rewrite". By ussing something like this: .htaccess: ErrorDocument 404 /rewrite.php Code (markup): And in rewrite.php: <?php print $_SERVER['REQUEST_URI']; ?> Code (markup): This shows what URL is requested, so now you can parse it. I can do this for you, of course