PDA

View Full Version : Problems with htaccess and mod_rewrite?


mogmios
03-10-2008, 05:12 PM
Anyone else suffered problems with the use of mod_rewrite with .htaccess since 1&1's server update last week? It seems that my mod_rewrite directives are being ignored but if I put gibberish into .htaccess it brings up an error. 1&1's support has been completely useless and keeps giving me stupid suggestions. Everything worked fine before their 'upgrade' and I've changed nothing.

iceuk
03-10-2008, 05:42 PM
Can you post me your .htaccess rules and a link to a php file containing:
<?phpinfo(); ?>

mogmios
03-10-2008, 05:52 PM
Maybe I should mention that my lil script, index.php5, is a simple cache system. I'm attempting to split up the load of loading a page across multiple servers and to have images and big files stored on a server with a faster connection (1&1). It checks to see if the main server has a newer version of the file and if so updates the cached copy. Then it just feeds the cached copy to the user. I just want it to run for the URL like http://oggleme.net/images/products/thumbnails/00236324.png and not just http://oggleme.net/index.php5/images/products/thumbnails/00236324.png.

http://oggleme.net/phpinfo.php5

RewriteEngine on
RewriteBase /
RewriteRule ^.*\.php.*$ - [L]
RewriteRule ^robots\.txt$ - [L]
RewriteRule (.*) /index.php5/$1 [P,L]

iceuk
03-11-2008, 04:11 AM
Can you run this test:
http://www.wallpaperama.com/forums/how-to-test-check-if-mod-rewrite-is-enabled-t40.html