View Single Post
  #7  
Old 26th March 2011, 23:06
otacon otacon is offline
Senior Member
 
Join Date: Sep 2010
Posts: 109
Thanks: 5
Thanked 5 Times in 5 Posts
Default

both /etc/apache2/sites-available/testing2.remcycle.net.vhost
/etc/apache2/sites-enabled/testing2.remcycle.net.vhost

do not have DirectoryIndex.

here is my vhost:

Quote:
GNU nano 2.0.7 File: /etc/apache2/sites-available/testing2.remcycle.net.vhost Modified


<Directory /var/www/testing2.remcycle.net>
AllowOverride None
Order Deny,Allow
Deny from all
</Directory>

<VirtualHost *:80>
DocumentRoot /var/www/testing2.remcycle.net/web
ServerName testing2.remcycle.net
ServerAlias www.testing2.remcycle.net
ServerAdmin webmaster@testing2.remcycle.net

ErrorLog /var/log/ispconfig/httpd/testing2.remcycle.net/error.log


ErrorDocument 400 /error/400.html
ErrorDocument 401 /error/401.html
ErrorDocument 403 /error/403.html
ErrorDocument 404 /error/404.html
ErrorDocument 405 /error/405.html
ErrorDocument 500 /error/500.html
ErrorDocument 503 /error/503.html

<Directory /var/www/testing2.remcycle.net/web>
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
<Directory /var/www/clients/client0/web14/web>
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>

# Clear PHP settings of this website
<FilesMatch "\.ph(p3?|tml)$">
SetHandler None
</FilesMatch>
# mod_php enabled
AddType application/x-httpd-php .php .php3 .php4 .php5
php_admin_value sendmail_path "/usr/sbin/sendmail -t -i -fwebmaster@testing2.remcycle.net"
php_admin_value upload_tmp_dir /var/www/clients/client0/web14/tmp
php_admin_value session.save_path /var/www/clients/client0/web14/tmp
# PHPIniDir /var/www/conf/web14
php_admin_value open_basedir /var/www/clients/client0/web14/web:/var/www/clients/client0/web14/tmp:/var/www/testing2.remcycle.net/web:/srv/www/testing2.remcycle.net/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin

RewriteEngine on
RewriteCond %{HTTP_HOST} ^testing2.remcycle.net [NC]
RewriteRule ^/(.*)$ /$1
RewriteCond %{HTTP_HOST} ^www.testing2.remcycle.net [NC]
RewriteRule ^/(.*)$ /$1

# add support for apache mpm_itk
<IfModule mpm_itk_module>
AssignUserId web14 client0
</IfModule>

<IfModule mod_dav_fs.c>
# DO NOT REMOVE THE COMMENTS!
# IF YOU REMOVE THEM, WEBDAV WILL NOT WORK ANYMORE!
# WEBDAV BEGIN
# WEBDAV END
</IfModule>


</VirtualHost>

__________________
Debian 7.4 Server:
ISPConfig Version: 3.0.5.3

Please visit my Mini-howto, "How To Create Remote API Scripts For ISPConfig 3"

Last edited by otacon; 26th March 2011 at 23:20.
Reply With Quote