Hi,
I am using the following htaccess file and it works fine when I run it local on my machine but when I change it to production (put a # on the line under and and remove it from line under production) and upload it to my hosting server it fails with error 500
Any ideaS?
[CODE]
# Set a new php timeout for XMLFeed
php_value max_execution_time 800
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{ENV:REDIRECT_STATUS} ^$
# Dev
#RewriteCond %{HTTP_HOST}/websites/livesite/index.php ^(1)27.0.0.1(/websites/livesite/index.php)$ [NC,OR]
# Pre Production
#RewriteCond %{HTTP_HOST}/index.php ^(www.)?example.com(/index.php)$ [NC]
# Production
RewriteCond %{HTTP_HOST}/index.php ^(www.)livesite.co.uk(/index.php)$ [NC]
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule !^.+.(gif|jpe?g|png|css|js)$ %2 [QSA,L]
#AuthType basic
#AuthUserFile “.htpasswd”
#AuthGroupFile /dev/null
#AuthName “Secure directory”
#Require valid-user
Thanks
k0r54