Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Reversing index.xxx order for one domain

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Setting request URI length limit  
Author Message
Floor

External


Since: Apr 04, 2007
Posts: 18



(Msg. 1) Posted: Wed Aug 08, 2007 7:40 pm
Post subject: Reversing index.xxx order for one domain
Archived from groups: alt>apache>configuration (more info?)

I have a domain running of which I would like to reverse the order of
displaying index files:

part of my httpd.conf

-- cut --

<IfModule mod_php4.c>
DirectoryIndex index.php index.html
</IfModule>

-- cut --

So first is index.php and second comes index.html

For a specific domein I want to force first showing index.html and then
showing index.php

part of my httpd.sites

-- cut --

<VirtualHost *>
ServerName www.mysite.com
ServerAdmin webmaster RemoveThis @mysite.com
DocumentRoot /usr/www/mysite.com/
CustomLog /log/websites/mysite.com combined
</VirtualHost>

-- cut --

Can you pls tell my what I have to ad to the VirtualHost section to force
this to happen?
Floor

 >> Stay informed about: Reversing index.xxx order for one domain 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 2) Posted: Thu Aug 09, 2007 3:56 am
Post subject: Re: Reversing index.xxx order for one domain [Login to view extended thread Info.]
Imported from groups: per prev. post (more info?)

This message is not archived

 >> Stay informed about: Reversing index.xxx order for one domain 
Back to top
Login to vote
Floor

External


Since: Apr 04, 2007
Posts: 18



(Msg. 3) Posted: Thu Aug 09, 2007 6:56 am
Post subject: Re: Reversing index.xxx order for one domain [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Davide Bianchi:

> Add a DirectoryIndex optionion in your VHost definition.

Thanks!
Floor
 >> Stay informed about: Reversing index.xxx order for one domain 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Reversing IndexIgnore for a single directory - I have searched the web and groups - the question was asked a number of times but never answered. I use IndexIgnore to disable the displaying of directory indexes. I now find myself in need of allowing directory listings on a single directory. Is there....

Order of RewriteRules - Hello! Okay, I'm expermienting with mod_rewrite: - If the url test1.htm is called, rewrite it to test2.htm (because test1.htm is not existing anymore) - If a url is not existing, rewrite it to index.htm I tried: RewriteEngine On RewriteOptions..

Order allow, deny - Hi, I am trying to configure a apache proxy. If I dlete the commet mark bevore Order allow, deny the server does not start and produces an error. Kind regards Peter Klamser <Location /webMathematica/KernelMonitor> #Order allow, deny Allow fr...

mod_ssl LoadModule Order - I'm curious; on my install of Apache (1.3.28 FreeBSD 4.6.x) Apache core dumps when mod_ssl is loaded after mod_php and mod_perl. What would it be making it core -- if anyone has an answer (logs don't tell anything)? Thanks

Order of processing with mod_* - With Apache 2.x, how important is the ordering of LoadModule statements inside httpd.conf? For example, if we're using mod_security, mod_dosevasive and mod_perl--does the order in which they appear within LoadModule matter? At least in theory, I gues...
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]