Question

Locked

Apache, not understanding instructions

By barrie91 ·
I don’t quite know what is meant in the below information, does it mean copy the text into notepad and I do not see any pound signs.

Be greatfull if anyone can help.


UK


Configuring Apache
First go to the Start menu and go to "My Documents". Make a new folder there called "My Website". This is where you're going to store your web pages and CGI programs.

Next you need to modify the Apache configuration file to tell it where your pages are, and enable CGI programs. Go back to the Start menu and navigate to All Programs > Apache HTTP Server > Configure Apache Server > Edit the Apache httpd.conf Configuration file. The config file will be opened for you in Notepad.

Scroll down (or use Find) until you get to the UserDir section of the file. It should have a line like this:


UserDir "My Documents/My Website"


Apache 2.2 doesn't have a UserDir section
If you're using Apache 2.2, you'll have to ADD the UserDir line and the Directory section ( see below ). See http://httpd.apache.org/docs/2.2/mod/mod_userdir.html for more info on this.

Scroll down just past that and you'll come to a commented section for Directory:


#<Directory "C:/Documents and Settings/*/My Documents/My Website">
# AllowOverride FileInfo AuthConfig Limit
# Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
# <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>


Uncomment this entire section (by removing the pound signs at the beginning of each line), and change the Options line to this:


Options MultiViews Indexes SymLinksIfOwnerMatch Includes ExecCGI

This conversation is currently closed to new comments.

2 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Share your knowledge
Back to Networks Forum
2 total posts (Page 1 of 1)  

Related Discussions

Related Forums