Hi , i have a question regarding apache ... Because my distro doesn't come with mod_suexec for apache i installed xampp ... Then i installer webmin+virtualmin ... I have changed the user and the group of apache web server to apache:apache ... Now , when i create a new virtual host , tells me that i I don't have permission to access / on this server ... because my new accounts are running under other user/group than apache ...
here i paste a bit of my vhosts.conf... [code:1] <VirtualHost :80> SuexecUserGroup "#500" "#501" ServerName mywds.info ServerAlias www.mywds.info ServerAlias webmail.mywds.info ServerAlias admin.mywds.info DocumentRoot /opt/lampp/htdocs/vhosts/mywds/public_html ErrorLog /opt/lampp/htdocs/vhosts/mywds/logs/error_log CustomLog /opt/lampp/htdocs/vhosts/mywds/logs/access_log combined ScriptAlias /cgi-bin/ /opt/lampp/htdocs/vhosts/mywds/cgi-bin/ DirectoryIndex index.html index.htm index.php index.php4 index.php5 <Directory /opt/lampp/htdocs/vhosts/mywds/public_html> Options -Indexes IncludesNOEXEC FollowSymLinks allow from all AllowOverride All </Directory> <Directory /opt/lampp/htdocs/vhosts/mywds/cgi-bin> allow from all </Directory> RewriteEngine on RewriteCond %{HTTP_HOST} =webmail.mywds.info RewriteRule ^(.) http://mywds.info:20000/ [R] RewriteCond %{HTTP_HOST} =admin.mywds.info RewriteRule ^(.*) http://mywds.info:10000/ [R] </VirtualHost> [/code:1]
As i told before , the apache is running under user apache and group apache witch has read access on the folder from /opt/lampp/htdocs/vhosts/
any ideas why it's going wrong ?
reinstall.
install the basic server software (without apache/mysql) and use the install.sh from virtualmin
it will install apache and the rest for you with correct configuration.