|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
general - A Wee Problem with httpd.conf setup
Good afternoon one and all,
First let me say I am a very new user of Apache and setting up servers is really not my forte but I am doing it as a supplement to learning Perl and CGI programming. I have found a site that is a great tutorial for this and they are pretty helpful at setting up the server but I have run into a problem setting up the httpd.conf file. I am setting this up on a local system and am trying to get it so when I go to my localhost it will see adirectory on my machine and execute from there I am assuming that from there directions you need add UserDir into the file but when I do as they say I keep getting errors and Apache will not start up. They say to add the lines as stated: UserDir "My Documents/My Website" <Directory "C:/Documents and Settings/*/My Documents/My Website"> AllowOverride FileInfo AuthConfig Limit Options MultiViews Indexes SymLinksIfOwnerMatch Includes ExecCGI <Limit GET POST OPTIONS PROPFIND> Order allow,deny Allow from all </Limit> <LimitExcept GET POST OPTIONS PROPFIND> Order deny,allow Deny from all </LimitExcept> </Directory> And when I do this I get an error of unrecognized command in line "UserDir" check for misspell or module mismatch. If I rem out the UserDir line it starts up fine So my question is can anyone explain it a little better for me as I don't really understand how to set it up so it will go execute from my local directory By the way I am using Apache 2.2.1 on a WinXp platform if you need to know. Any help would really be appreciated, thanks Ron |
|
#2
|
||||
|
||||
|
You need to define the full path. Like:
UserDir "C:/My Documents/websites/" |
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > general - A Wee Problem with httpd.conf setup |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|