image
image

|


Go Back   macosx.com > Mac Help Forums > Mac OS X System & Mac Software

Reply
 
Thread Tools
  #1  
Old November 17th, 2001, 12:55 AM
Registered User
 
Join Date: Nov 2001
Location: France
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Jkle is on a distinguished road
Question Multiple index files and server admin ?

Hello,

I am trying to have more than one index file name using the server admin graphical tool in virtual hosts : I need index.html, index.php and index.php3.

It works with my main server name when I change manually in the httpd.conf:
<IfModule mod_dir.c>
DirectoryIndex index.html
</IfModule>

to

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

BUT the server admin seems to declare the virtual hosts in the file httpd_macosxserver.conf, and the syntax is :
DirectoryIndex "index.html"

I tried to enter index.html and index.php in the server admin tool, separated with a space, with a "," or with a ";" and it dont work at all. Any suggestion ?

Thanks in advance for your help.
Reply With Quote
  #2  
Old November 17th, 2001, 02:57 AM
Registered User
 
Join Date: Nov 2001
Location: France
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Jkle is on a distinguished road
Talking

Got It !!

The correct syntax in httpd_macosxserver.conf is :

DirectoryIndex "index.html""index.php""index.php3"

So in the server admin tool I had to enter :
index.html""index.php""index.php3
(without the starting and ending ")

Silly no ?
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Slow searching for files on NT server dcwallin Networking & Compatibility 1 August 13th, 2003 09:39 PM
Copying files on a Win2K server Woodgie2 Networking & Compatibility 0 May 8th, 2003 06:22 AM
dissapearing files on NT4 server sebas Mac OS X System & Mac Software 5 November 15th, 2002 03:29 PM
Mac OS X Server really slow saving files newboy Mac OS X System & Mac Software 0 January 5th, 2002 05:56 AM
any news group app multiple server combine to form more ocmplete group buggs1a Apple News, Rumors & Discussion 15 November 28th, 2001 07:07 AM


All times are GMT -5. The time now is 12:42 PM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.