FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

PHP index page not displaying problem

 


ammonkc
I'm making some simple web forms in php for work. for some reason if i type in the url (http://www.pantoursinfo.net) I only get a directory structure with a list of the files. but if I add the index.php on to the end of it, http://www.pantoursinfo.net/index.php then the page displays normally. it also displays fine when I type in the ip address directly (http://207.40.240.251/index.php)

does anyone have any idea why it wont work for the domain url? I would really appreciate it if someone knows what I'm doing wrong.

thanks in advance.
ammonkc
I should also mention that its running on Apache/2.0.53 (Linux/SUSE) Server at www.pantoursinfo.net

is it an Apache server configuration problem that is causing it to display the 'index of /' ?

thanks
ammonkc
this is what is being displayed when I go to www.pantoursinfo.net


Index of /

Icon Name Last modified Size Description
[ ] email.php 25-Oct-2005 16:51 7.4K
[ ] email_app.php 26-Oct-2005 08:08 5.1K
[DIR] images/ 24-Oct-2005 15:55 -
[ ] index.php 25-Oct-2005 16:51 2.3K
[DIR] panda_form/ 26-Oct-2005 08:09 -
[ ] refund.php 25-Oct-2005 16:51 9.5K
[ ] refund_app.php 26-Oct-2005 08:08 6.2K
[ ] success.php 25-Oct-2005 09:41 900
[ ] unpaid_commission.php 25-Oct-2005 16:51 6.1K
[ ] unpaid_commission_app.php 25-Oct-2005 16:54 5.0K

Apache/2.0.53 (Linux/SUSE) Server at www.pantoursinfo.net Port 80
ammonkc
I got it working. it was an Apache configuration file problem. I just had to tweak some mod_autoindex entries. but now its working and displaying the index.php properly.
This topic is locked: you cannot edit posts or make replies.    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.