httpd.conf
- Code: Select all
ServerName 62.75.139.238:80
#
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "C:/xampp/htdocs/bodies"
#
# Each directory to which Apache has access can be configured with respect
# to which services and features are allowed and/or disabled in that
# directory (and its subdirectories).
#
# First, we configure the "default" to be a very restrictive set of
# features.
#
<Directory />
Options None
AllowOverride None
Order deny,allow
Deny from all
</Directory>
#
# Note that from this point forward you must specifically allow
# particular features to be enabled - so if something's not working as
# you might expect, make sure that you have specifically enabled it
# below.
#
#
# This should be changed to whatever you set DocumentRoot to.
#
<Directory "C:/xampp/htdocs/bodies">
Options None
AllowOverride all
Order allow,deny
Allow from all
</Directory>
<Directory "C:/xampp/htdocs/diary">
Options None
AllowOverride all
Order allow,deny
Allow from all
</Directory>
<Directory "C:/xampp/htdocs/supp">
Options None
AllowOverride all
Order allow,deny
Allow from all
</Directory>
vHost
- Code: Select all
NameVirtualHost 62.75.139.238:80
<VirtualHost 62.75.139.238:80>
DocumentRoot C:/xampp/htdocs/bodies
ServerName www.paradise-bodies.com
</VirtualHost>
<VirtualHost 62.75.139.238:80>
DocumentRoot C:/xampp/htdocs/diary
ServerName www.body-diary.com
</VirtualHost>
<VirtualHost 62.75.139.238:80>
DocumentRoot C:/xampp/htdocs/supp
ServerName www.paradise-supplements.com
</VirtualHost>
Als DocumentRoot muss ich ja ein verzeichniss angeben und ich hab ja nur eine IP, also "C:/xampp/htdocs/bodies".
Ist das soweit richtig.
So, nun möchte ich perl für alles nutzen können, am besten in jedem Verzeichniss.
http://localhost/cgi-bin/perltest.cgi geht schonmal.
www.meinedomain.con/perltest.cgi natürlich nicht...