As you are apparently a novice, start by installing the* pattern* “Web and LAMP Server” with YaST.
Then you can use YaST >> Network Services >> HTTP Server
to manage basic configuration, install required modules, and set up Virtual Hosts
The default DocumentRoot iis /srv/www
I generally create a directory * /srv/www/vhosts.d* and then create further sub-directories for the VirtualHost DocumentRoots.
The VirtualHost Configuration files will be in* /etc/apache2/vhosts.d*. Again basic configuration, such as specifyinf DocumentRoot can be achieved via YaST.
Most webmasters/hosmasters would know what they were doing and install/configure this stuff using an ssh terminal, text editor (e.g. vim, emacs or maybe kate) and there personal scripts. I would suggest you practice with a simple site, phpinfo(), etc. before trying to configure a third party CMS.
Anyway if you were trying to give write permission to all to all files in* /srv/www* you seriously shouldn’t be doing this until you learn something about configuring web-sites and basic security.
As root I generally: mkdir /srv/www/vhosts.d
chown <webmaster usrername> /srv/www/vhosts.d
/srv/www/vhosts.d should be readable and traversable by all, but only writeable by it’s owner (the user designated as the webmaster.
Joomla et al may have different permissions for its own sub-directories, hence one source of insecurity associated with these installations.
You will save yourself a lot of time if you do some reading on the subjects of general Gnu/Linux administration, Apache, PHP, and web administration before, or at concurrent with, trying to set up a complex system.