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. Link to comment https://forums.phpfreaks.com/topic/80894-blank-indexphp/ 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? Link to comment https://forums.phpfreaks.com/topic/80894-blank-indexphp/#findComment-410383 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.