FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free 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.
Related topics
Problems With Index Page
Not Changing Index Page Often Increased (Page)Ranking 4 SE ?
where is my index page in cpanel?!
one more line on forum index page
How do I enable directory viewing when theres no index page?
Put the last 10 topics from my phpBB forum on the index page
Dropdown menu in iframe problem
Only index page crawled
how to make blog show on my index page
PHP page turning problem
Speeding up the phpBB 2 forum index page
cannot update the index page from cp.frih.org
Add number of posts on the forums index page
Only index page crawled
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-2011 Frihost, forums powered by phpBB.