Article:
 |
|
Apache Web-Serving with Mac OS X: Part 2
|
| Subject: |
|
missing lines in httpd.conf |
| Date: |
|
2002-01-28 13:56:18 |
| From: |
|
gvanmete
|
|
|
|
I do not have these lines in my hpptd.conf:
<Directory "/Library/WebServer/Documents">
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
where should I add them?
in addition, I was trying to install perl_mod as per the technotes at http://developer.apple.com/internet/macosx/perl.html and it instructs one to add these lines after installing mod_perl (using CPAN):
<Files *.pl>
SetHandler perl-script
PerlHandler Apache::Registry
PerlSendHeader On
Options ExecCGI
</Files>
<Location /perl-status>
SetHandler perl-script
PerlHandler Apache::Status
order deny,allow
deny from all
allow from mydomain.com
</Location>
do these lines need to fall within a specific section of httpd.conf?
|
Showing messages 1 through 1 of 1.
If you can't find anything similar, do a search for "Directory" and tell me all the instances that you find.
As for your mod_perl questions, no, they don't really need to be placed anywhere specific, but make sure they're outside any other containers (ie,. you wouldn't want to place them in a <Directory> container).