Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re: How to make the default?

by TVSET (Chaplain)
on Apr 22, 2003 at 23:39 UTC ( #252403=note: print w/replies, xml ) Need Help??

in reply to How to make the default?

That's easy :)

You have to configure your server to use or index.cgi (or whatever you want) as a default Index page. If you are using Apache web server, then you have to use DirectoryIndex directive. Here is a an example from my config (/etc/httpd/conf/httpd.conf):

# # DirectoryIndex: Name of the file or files to use as a pre-written HT +ML # directory index. Separate multiple entries with spaces. # <IfModule mod_dir.c> DirectoryIndex index.epl index.html index.htm ndex.shtml index.php + index.php4 index.php3 index.phtml index.cgi index.epl index +.mhtml index.mpl </IfModule>

It is possible in any(?) other server too. I've seen it even in MS IIS, but don't remember where. :)

Leonid Mamtchenkov

Replies are listed 'Best First'.
Re: Re: How to make the default?
by Bilbo (Pilgrim) on Apr 23, 2003 at 08:22 UTC

    If you are using Apache then this can also be placed in a file called .htaccess in your website directory, so you don't need to configure the server itself. Seach google for 'htaccess'.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://252403]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2019-07-19 01:28 GMT
Find Nodes?
    Voting Booth?

    No recent polls found