dwm
Verified User
Hello,
I am installing my new server and installed Apache2 with php5 on it. I have added several users and domainnames on it, and placed index.html files in every customers public_html. The dns is also correct, and the ip also. But i dont get any website, only the plaintext message with 'Apache is functioning normally'. How do i fix this? I also have done a ./build rewrite_confs too..
/etc/httpd/conf/httpd.conf:
I am installing my new server and installed Apache2 with php5 on it. I have added several users and domainnames on it, and placed index.html files in every customers public_html. The dns is also correct, and the ip also. But i dont get any website, only the plaintext message with 'Apache is functioning normally'. How do i fix this? I also have done a ./build rewrite_confs too..
<VirtualHost 77.93.73.81:80>
ServerName www.mail.directwebsolutions.com
ServerAlias www.mail.directwebsolutions.com mail.directwebsolutions.com
ServerAdmin [email protected]
DocumentRoot /home/klanten/domains/directwebsolutions.com/public_html/mail
ScriptAlias /cgi-bin/ /home/klanten/domains/directwebsolutions.com/public_html/mail/cgi-bin/
UseCanonicalName OFF
User klanten
Group klanten
CustomLog /var/log/httpd/domains/directwebsolutions.com.mail.bytes bytes
CustomLog /var/log/httpd/domains/directwebsolutions.com.mail.log combined
ErrorLog /var/log/httpd/domains/directwebsolutions.com.mail.error.log
<Directory /home/klanten/domains/directwebsolutions.com/public_html/mail>
Options +Includes -Indexes
php_admin_flag engine ON
<IfModule !mod_php6.c>
php_admin_flag safe_mode OFF
</IfModule>
php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f [email protected]'
php_admin_value open_basedir /home/klanten/:/tmp:/usr/local/lib/php/
</Directory>
</VirtualHost>
/etc/httpd/conf/httpd.conf:
Include /usr/local/directadmin/data/users/klanten/httpd.conf