I have been setting up Apache HTTP server in fedora on my computer,
but now i also want to use it in ubuntu and open suse.
in fedora, i just added content to the directory /var/www/html/ and it
worked. how to do it elsewhere, there's no such directory.
thanks
Regards:
Rohit Gupta
GLUG KGEC
I have been setting up Apache HTTP server in fedora on my computer,
but now i also want to use it in ubuntu and open suse.
in fedora, i just added content to the directory /var/www/html/ and it
worked. how to do it elsewhere, there's no such directory.
On Mon, Jun 22, 2009 at 1:56 PM, Manish <manish...@gmail.com> wrote:
>
> For Ubuntu, look for apache2.conf file in */etc/apache2/* directory.
>
> If you want to change the DocumentRoot look in the file */etc/apache2/sites-available/default*
Just remember that with Debian styled FS layout for Apache2, you
*would* need to ensure that /etc/apache2/sites-available/<sites> are
symlinked to /etc/apache2/sites-enabled/<sites>. The default site is
always enabled by default, but for vhosts you would need to do the
needful. Either by hand or use the a2ensite script.
cheers
-idg