Go Back   Cyber Tech Help Support Forums > Software > Internet / Browsers

Notices

Reply
 
Topic Tools
  #1  
Old February 11th, 2003, 11:28 PM
Jethro Jethro is offline
Senior Member
 
Join Date: Oct 2002
Location: Sydney, Australia
Posts: 249
Question Apache and default document path

Ok not my problem (my suggest was IIS as a replacement), but thought l would ask it anyway as no one seems to be able to answer what appears to be a simple question.

How do you change the default Apache document path?

Steps so far

1. from command net stop apache

2. modify httpd.conf to point to new default document directory.

3. net start apache

apache start np.

Default directory isn't updated:no:

Environment Win2k Pro SP3, Apache 1.3.something Virgin install of both products.
__________________
Sites l visit

Galah Net lol it's not that serious.

Rugby Forums for the game they play in heaven.

Coming to a browser soon ... the Jman and Pfer project... be afraid be very afraid

Join the *Resolved* campaign now
Reply With Quote
  #2  
Old February 12th, 2003, 03:36 AM
Jethro Jethro is offline
Senior Member
 
Join Date: Oct 2002
Location: Sydney, Australia
Posts: 249
FYI

Latest development on this issue (has been raised on six different sites), apparently in the new directory we need a html.index file

Heck, this is like more info than l need. As l keep saying IIS, virtual directories, and bob's your sheep dog's other outing...
__________________
Sites l visit

Galah Net lol it's not that serious.

Rugby Forums for the game they play in heaven.

Coming to a browser soon ... the Jman and Pfer project... be afraid be very afraid

Join the *Resolved* campaign now
Reply With Quote
  #3  
Old February 12th, 2003, 09:21 PM
Steven.Bentley Steven.Bentley is offline
CTH Subscriber
 
Join Date: Nov 2000
Location: West Yorkshire, UK
Age: 29
Posts: 3,840
Quote:
modify httpd.conf to point to new default document directory.
yep that's right, you're looking for the DocumentRoot directive.
__________________
Don't forget to post back with the results
Reply With Quote
  #4  
Old February 12th, 2003, 10:03 PM
Jethro Jethro is offline
Senior Member
 
Join Date: Oct 2002
Location: Sydney, Australia
Posts: 249
Steve is this separate to the Document Path lines.

Latest attempts html.index created in new document directory ... didn't work

Change to <Directory> section

AllowOverride None

Still not working, though it no longer decides to use the default document directory
__________________
Sites l visit

Galah Net lol it's not that serious.

Rugby Forums for the game they play in heaven.

Coming to a browser soon ... the Jman and Pfer project... be afraid be very afraid

Join the *Resolved* campaign now
Reply With Quote
  #5  
Old February 13th, 2003, 09:34 PM
Steven.Bentley Steven.Bentley is offline
CTH Subscriber
 
Join Date: Nov 2000
Location: West Yorkshire, UK
Age: 29
Posts: 3,840
The index.html thing is set up using DirectoryIndex directives, you list the names you want it to automatically load in order of which one you want it to use if two exist

If you have a directory containing index.htm and index.php and your httpd.conf said

DirectoryIndex index.php index.htm

it would load index.php as that is listed first
__________________
Don't forget to post back with the results
Reply With Quote
Reply

Bookmarks

Topic 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
Forum Jump


All times are GMT +1. The time now is 05:56 PM.

[ RSS ]