Jump to content

Blank index.php


fun4uoc

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.