fun4uoc Posted December 9, 2007 Share Posted December 9, 2007 I am running a script and require the following in my .htaccess file. RewriteEngine on Options +FollowSymlinks RewriteBase / RewriteRule ^$ /cgi-bin/X.cgi?%{REQUEST_URI} [L] RewriteCond %{REQUEST_FILENAME} -f RewriteCond %{REQUEST_URI} !/.*/ RewriteRule ^.*\.html$ /cgi-bin/X.cgi?%{REQUEST_URI} [L] Everything works fine when I go to http://mydomain.com/index.php but if I just go to http://mydomain.com it only shows a blank page. If I delete the contents of .htaccess then everything goes back to normal. Any help is appreciated. Quote Link to comment Share on other sites More sharing options...
fun4uoc Posted December 9, 2007 Author Share Posted December 9, 2007 I am able to get the page to load by adding the following. RewriteRule ^.*$ index.php [L] However, no images on the page will load. Any ideas? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.