httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Blajev <pe...@castandcrew.com>
Subject Virtual host configuration
Date Tue, 26 Feb 2002 00:31:10 GMT
Hi all,

I've configured my Apache-1.3.23 server to work with SSL.
Also I need the main page and *only* the main page to be 
accessable on port 80, i.e.:
http://servername.com
https://servername.com

All requests to http://servername.com/something to and up
with error. For this part I need help.
Here is the related part (I hope) from my httpd.conf file:

--- <snip> ---
<VirtualHost <ip_address>:80>
ServerName servername.com
DocumentRoot /www/lists
SSLEngine off
</VirtualHost>
 
<VirtualHost <ip_address>:80>
ServerName servername.com
ServerPath /something/
DocumentRoot /www/null <-- There is no null directory.
                           I need Apache to respond with
                           error to every request to
                           http://servername.com/something
SSLEngine off
</VirtualHost>
 
<VirtualHost <ip_address>:443>
ServerName servername.com
ServerPath /something/
DocumentRoot "/www/lists"
<Directory "/www/lists">
    Options Indexes FollowSymLinks MultiViews +Includes
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>
SSLEngine on
</VirtualHost>
---- <snip> ---

Thanks for your time
Peter

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message