Default Directory in apache2

2006-02-03 Thread Antonio Rodriguez
I can't find the directive to establish the root directory in
apache2. Looking into /etc/apache2/apache2.conf doesn't help, I
couldn't find the line that points to /var/www
I want to point any request to my server not to /var/www, but to
/var/www/apache2-default/

Running apache2-mpm-prefork, sid

Thanks for any help.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Default Directory in apache2

2006-02-03 Thread Mehmet Fatih AKBULUT
hi Antonio,#cat /usr/share/apache2/config/default...VirtualHost * ServerAdmin ::SERVERADMIN:: ServerName ::SERVERNAME:: DocumentRoot /var/www/::VHOSTNAME::/htdocs-::PORT::
 Directory / Options FollowSymLinks AllowOverride None /Directorychange lines above, and restart your server.hope this will work ;)
regards,bye.


Re: Default Directory in apache2

2006-02-03 Thread Simo Kauppi
On Fri, Feb 03, 2006 at 11:59:53AM -0500, Antonio Rodriguez wrote:
 I can't find the directive to establish the root directory in
 apache2. Looking into /etc/apache2/apache2.conf doesn't help, I
 couldn't find the line that points to /var/www
 I want to point any request to my server not to /var/www, but to
 /var/www/apache2-default/
 
 Running apache2-mpm-prefork, sid
 
 Thanks for any help.

Hi,

I'm using etch with apache2 2.0.55-4 (should be same in sid).

Apache2 reads the site configurations from the
/etc/apache2/sites-enabled directory. Basically you have the available
site configuration files in the /etc/apache2/sites-available and you
symlink a site from sites-available to sites-enabled. With the
installation there should be the 'default' site in the sites-available.

You can make the symlink manually or by using the apache2 tool a2ensite.

Simo
-- 
:r ~/.signature


signature.asc
Description: Digital signature