I intended to set up a virtualhost, so I create a new.conf in /etc/apache2/vhost.d/new.conf .
Basically I want the documentroot is in /home/mypc/web/ directory. But somehow I can’t make it work.
Here is my new.conf file look likes:
<VirtualHost *:80> ServerName www.testing.com DocumentRoot /home/mypc/web Include /etc/apache2/conf.d/*.conf <Directory "/home/mypc/web"> AllowOverride None Order allow, deny Allow from all </Directory> </VirtualHost>
Actually I know nothing about virtualhost setup, the codes above was the result of me googling all night. It seem there are no step by step setup guides available for opensuse machine out there. What a shame.
Anyway, what have I missed?