|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
index.html but not index.php
ah i dont know why it does it.
if i do http://myip i only get index.html. if i delete index.html and put index.php i just see all the files in the root dir. i dont want to make it read .html as .php i just want it to see that index.php is the index file =) thank you
__________________
Free Random Signature , Avatar Hosting http://freebsd.munk.nu/ http://jez.hancock-family.com/ |
|
#2
|
||||
|
||||
|
If you have access to httpd.conf, add index.php to the DirectoryIndex directive.
Code:
DirectoryIndex index.html index.php Code:
DirectoryIndex index.php |
|
#3
|
|||
|
|||
|
ah
thanks a million =) |
|
#4
|
|||
|
|||
|
I have a similar problem. I'm trying to access my site like this: mysite.com but nothing comes up except the title in the browser window and the page is blank. When I add the index.html the page appears (mysite.com/index.html).
I used the suggestion above using .htaccess and adding the code for DirectoryIndex index.html but still nothing happens. Does anyone have a clue about what the error is? I appreciate the help. |
|
#5
|
|||
|
|||
|
did you not close your <style> tag? cause that can cause page to be blank. it can be a lot of things.
try a blank file. index.html with nothing but the word hi in it. and see in IE what it displays. |
|
#6
|
|||
|
|||
|
oh hey that's my thread =D
|
|
#7
|
||||
|
||||
|
Quote:
ROTFLMAO wannabe, you crack me up...
__________________
Give a person code, and they'll hack for a day; Teach them how to code, and they'll hack forever. Analyze twice; hack once. The world's first existential ITIL question: If a change is released into production without a ticket to track it, was it actually released? About DrGroove: ITIL-Certified IT Process Engineer - Enterprise Application Architect - Freelance IT Journalist - Devshed Moderator - Funk Bassist Extraordinaire |
![]() |
| Viewing: Dev Shed Forums > Other > Beginner Programming > index.html but not index.php |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|