httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josu Lazkano <>
Subject [users@httpd] Add a Alias
Date Tue, 04 Oct 2011 08:32:44 GMT
Hello, I am trying to configure a site, I want to add a Alias. This way
it works well:

<VirtualHost *:80>
	ServerAdmin mymail
	DocumentRoot /usr/share/site1
	<Directory />
		Options FollowSymLinks
		AllowOverride All

	<Directory /usr/share/site1/>
		Options Indexes FollowSymLinks MultiViews
		AllowOverride All
		Order allow,deny
		allow from all

	ErrorLog ${APACHE_LOG_DIR}/error.log
	LogLevel warn
	CustomLog ${APACHE_LOG_DIR}/access.log combined


But I want to get my web from and
http://server/site1, so I add this line:

       Alias /site1 /usr/share/site1

But it doesn't work, how could I do that?

Thanks and best regards.

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message