|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
how to make the default page an .asp
I notice that the default page is an .html file. I want to run a default .asp file. How would I configure the settings to read the defaut to the filename that i want.
|
|
#2
|
|||
|
|||
|
Index page
Look in the httpd.conf file for the mod_dir section. It will look something like:
<IfModule mod_dir.c> DirectoryIndex index.html index.php index.cgi </IfModule> Add index.asp to the end of the list: <IfModule mod_dir.c> DirectoryIndex index.html index.php index.cgi index.asp </IfModule> Run configtest and restart Apache. This will make the change server wide. If you are only wanting index.asp to be the default index page in a particular virtual host, add DirectoryIndex index.asp to the VirtualHost section instead. Good luck! |
|
#3
|
||||
|
||||
|
Little notice, they go in order of 'importants' so dont put both index.html and index.asp if you want only .asp to be the index one (or put .asp before .html in config)
__________________
And you know I mean that. |
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > how to make the default page an .asp |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|