Forum Moderators: bakedjake
ServerRoot: "C:/plandev/apache"
Port80
ServerName localhost
DocumentRoot "C:/plandev/www"
ScriptAlias /cgi-bin/ "C:/phpdev/www/cgi-bin/"
<Directory />
Options FollowSymLinks MultiViews +ExecCGI
AllowOverride None
</Directory>
<Directory "C:/phpdev/www/">
Options Indexes FollowSymLinks MultiViews Includes ExecCGI
AllowOverride AuthConfig FileInfo
Order allow,deny
Allow from localhost 127.0.0.1
</Directory>
<Directory "C:/phpdev/www/cgi-bin">
<IfModule mod_perl.c>
Sethandler perl-script
PerlHandler Apache::Registry
PerlSendHeader On
</IfModule>
Options All MultiViews
AllowOverride None
Order deny,allow
Allow from all
</Directory>
</iIfModule>
How do I set the configuration so I can view my web folders as if I was on a live connection? My web folders are stored on C:mywebsitename. I need to make sure that I have script access outside of the cgi-bin folder. I am setting up a shopping cart that uses perl and connects to mysql.
I have been reading about virtual hosting and was wondering if this is the way to go. (I feel like I have been studying for a final exam!)
I need help and would appreciate any advice that will get me pointed in the right direction.
Thanks so much,
Rose
If you need to serve stuff from C:\mywebsitename why don't you set the DocumentRoot and replace all occurrences of C:/plandev/www with it?
PS. I would recommend using Perl as a CGI rather than mod_perl at least if you're beginning Perl.