On 08.12.2010 01:05, Laurentiu STEFAN wrote: > Am www.domeniu1.ro pus in /var/www/html > Daca ii fac un index.html in el merge. > > Daca fac /var/www/html/domeniu2 > > din www.domeniu1.ro/domeniu2/ imi da 403 Forbiden ( You don't have > permission to access /domeniul2/ on this server.) > din www.domeniul2.ro imi da pagina de teste (Apache 2 Test Page).
- /etc/httpd/conf.d/welcome.conf - pune index.xx si in ~domeniu2, si o sa mearga > > am incercat cam tot ce se gasea pe google fara succes. > > NameVirtualHost *:80 > > <VirtualHost *:80> > ServerAdmin x...@yahoo.com > DocumentRoot /var/www/html > ServerName www.domeniu1.ro > DirectoryIndex index.html index.htm index.shtml index.php index.php4 > index > ErrorLog /var/log/httpd/local_error_log > CustomLog /var/log/httpd/local_log common > <Directory "/var/www/html"> > Options Indexes FollowSymLinks > AllowOverride All > Order allow,deny > allow from all > </Directory> > </VirtualHost> > > > <VirtualHost *:80> > ServerAdmin laurenti...@yahoo.com > DocumentRoot /var/www/html/domeniu2 > ServerAlias www.domeniu2.ro > ServerName domeniu2.ro > DirectoryIndex index.html index.htm index.shtml index.php index.php4 > index > ErrorLog /var/log/httpd/local_error_log > CustomLog /var/log/httpd/local_log common > <Directory "/var/www/html/domeniu2"> > Options Indexes FollowSymLinks > AllowOverride All > Order allow,deny > allow from all > </Directory> > </VirtualHost> > > Ms anticipat de ajutor > _______________________________________________ > RLUG mailing list > RLUG@lists.lug.ro > http://lists.lug.ro/mailman/listinfo/rlug _______________________________________________ RLUG mailing list RLUG@lists.lug.ro http://lists.lug.ro/mailman/listinfo/rlug