Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 22nd February 2010, 10:35
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,446
Thanks: 813
Thanked 5,216 Times in 4,089 Posts
Default

Please post the content of the vhost file of this website.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Sponsored Links
  #12  
Old 22nd February 2010, 10:43
smartin smartin is offline
Member
 
Join Date: Dec 2007
Posts: 82
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till View Post
Please post the content of the vhost file of this website.
Till,

I hope it's
Code:
<Directory /var/www/www.mydomain.co.uk>
    AllowOverride None
    Order Deny,Allow
    Deny from all
</Directory>

<VirtualHost *:80>
      DocumentRoot /var/www/www.mydomain.co.uk/web
  
    ServerName www.mydomain.co.uk
    ServerAlias www.www.mydomain.co.uk
    ServerAdmin webmaster@www.mydomain.co.uk

    ErrorLog /var/log/ispconfig/httpd/www.mydomain.co.uk/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/www.mydomain.co.uk/web>
        Options FollowSymLinks
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>
    <Directory /var/www/clients/client2/web2/web>
        Options FollowSymLinks
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>

    # mod_php enabled
    AddType application/x-httpd-php .php .php3 .php4 .php5
    php_admin_value sendmail_path "/usr/sbin/sendmail -t -i -fwebmaster@www.mydomain.co.uk"
    php_admin_value upload_tmp_dir /var/www/clients/client2/web2/tmp
    php_admin_value session.save_path /var/www/clients/client2/web2/tmp


</VirtualHost>



<IfModule mod_ssl.c>
###########################################################
# SSL Vhost
###########################################################

<VirtualHost *:443>
      DocumentRoot /var/www/www.mydomain.co.uk/web
  
    ServerName www.mydomain.co.uk
    ServerAlias www.www.mydomain.co.uk
    ServerAdmin webmaster@www.mydomain.co.uk
    
    ErrorLog /var/log/ispconfig/httpd/www.mydomain.co.uk/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

    SSLEngine on
    SSLCertificateFile /var/www/clients/client2/web2/ssl/www.mydomain.co.uk.crt
    SSLCertificateKeyFile /var/www/clients/client2/web2/ssl/www.mydomain.co.uk.key
    
        <Directory /var/www/www.mydomain.co.uk/web>
        Options FollowSymLinks
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>
    <Directory /var/www/clients/client2/web2/web>
        Options FollowSymLinks
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>

    # mod_php enabled
    AddType application/x-httpd-php .php .php3 .php4 .php5
    php_admin_value sendmail_path "/usr/sbin/sendmail -t -i -fwebmaster@www.mydomain.co.uk"
    php_admin_value upload_tmp_dir /var/www/clients/client2/web2/tmp
    php_admin_value session.save_path /var/www/clients/client2/web2/tmp


</VirtualHost>
</IfModule>
Reply With Quote
  #13  
Old 22nd February 2010, 10:58
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,446
Thanks: 813
Thanked 5,216 Times in 4,089 Posts
Default

You entered the domain with ww in front which is wrong. Please change ww.domain.com in the website settings to domain.com and click on save.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
smartin (22nd February 2010)
  #14  
Old 22nd February 2010, 11:47
smartin smartin is offline
Member
 
Join Date: Dec 2007
Posts: 82
Thanks: 3
Thanked 0 Times in 0 Posts
 
Default

Quote:
Originally Posted by till View Post
You entered the domain with ww in front which is wrong. Please change ww.domain.com in the website settings to domain.com and click on save.
Till,

Thanks! :-)

Kicked in after I restarted apache.

S
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
(Solution!) Redirect domain.com and co-domains to www.domain.com lubos Tips/Tricks/Mods 0 8th June 2009 02:28
Codomains - have domain.com redirect to www.domain.com? mxc General 4 2nd May 2009 11:17
bind problem. domain.com doesn't resolve to domain.net bob808 Server Operation 4 29th April 2009 12:07
domain.com & www.domain.com themoose General 4 27th November 2007 23:01
www.domain.com and domain.com patfee Tips/Tricks/Mods 3 12th November 2007 08:33


All times are GMT +2. The time now is 06:48.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.