did you try adding this to the .htaccess?
DirectoryIndex index.php index.html index.htm
oh yes. still no luck
when I do:
‘mv index.php indexphp’
and
‘mv readme.html index.html’
and go to the wordpress directory with or without specifying the filename, the readme.html page displays fine.
I will write a test php page and post back.
when I do:
http://myserver/wordpress
it doesn’t find index.php ( though it would find index.html as shown above )
if I do a phpinfo page and call it index.php, and do:
http://myserver/wordpress/index.php
the phpinfo page displays fine.
I will ask on the forum for the server software I am using, I think its more a prob to do with how I have set up php and my webserver than a wordpress issue.
My goal is to become familiar with installing and using WordPress on my own test server before using it on paid-for hosting.
many thanks
I had the same problem. It is NOT a WordPress issue, but rather an Apache config issue.
If you have access to your Apache httpd.conf file, change this line:
AllowOverride None
to:
AllowOverride All
As mentioned in the httpd.conf file AllowOverride controls what directives may be placed in .htaccess files.
So you can adjust the AllowOverride directive to whatever tickles your fancy, but setting to All makes WP work as long as you include this as well in your .htaccess file in your wordpress dir:
Options -Indexes
DirectoryIndex index.php index.html index.htm
If you don’t have access to your httpd.conf file, and you cannot create the above .htaccess file… contact your provider… and good luck!
I have the same problem. I have tried to create .htaccess with the line DirectoryIndex index.php index.htm but still just seem to be in a loop to produce a Directory listing. If I go directly to wp-login.php, again i go to a directory listing but then if I click on index.php then I manage to reach the dashboard. I can’t get any further with this and I am finding it very frustrating so any help would be much appreciated. By the way, I have got it all set up beautifully on my localhost – I just have the problem on my remote host.
Thanks in anticipation