#1  
Old 22nd February 2006, 00:39
nok nok is offline
Member
 
Join Date: Feb 2006
Posts: 56
Thanks: 0
Thanked 0 Times in 0 Posts
Default apache2-default

I've added a couple of sites to ISP Config, but they all insit on a redirect to "/apache2-default".

I think this setting is being picked up from "/etc/apache2/sites-available\default.conf" however I can't see where the file "/etc/apache2/vhosts/Vhosts_ispconfig.conf" is linked to for the configs....



Any help or pointers
________
Opiate rehab dicussion
________
Yamaha lagenda series

Last edited by nok; 22nd April 2011 at 02:09.
Reply With Quote
Sponsored Links
  #2  
Old 22nd February 2006, 08:45
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,982 Times in 3,903 Posts
Default

Please search for the include for the file /etc/apache2/vhosts/Vhosts_ispconfig.conf at the end of one of these files: httpd.conf, apache.conf, apache2.conf
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 22nd February 2006, 20:48
nok nok is offline
Member
 
Join Date: Feb 2006
Posts: 56
Thanks: 0
Thanked 0 Times in 0 Posts
Default

at the bottom of /etc/apache2/apache2.conf is.....

Quote:
Include /etc/apache2/vhosts/Vhosts_ispconfig.conf
But how come all sites point to the default?
________
Brunette chubby
________
Effects of avandia

Last edited by nok; 22nd April 2011 at 02:10.
Reply With Quote
  #4  
Old 22nd February 2006, 20:55
nok nok is offline
Member
 
Join Date: Feb 2006
Posts: 56
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Can someone show me a sample of how the "Vhosts_ispconfig.conf" could look for a domain?

Just to give me an idea where mine is wrong?
________
UGGS
________
Homeade Vaporizer

Last edited by nok; 22nd April 2011 at 02:10.
Reply With Quote
  #5  
Old 22nd February 2006, 23:28
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

What's in your /etc/apache2/vhosts/Vhosts_ispconfig.conf?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #6  
Old 22nd February 2006, 23:34
nok nok is offline
Member
 
Join Date: Feb 2006
Posts: 56
Thanks: 0
Thanked 0 Times in 0 Posts
Default

###################################
#
# ISPConfig vHost Configuration File
# Version 1.0
#
###################################
#
NameVirtualHost *ip*::80
<VirtualHost *ip*::80>
ServerName localhost
ServerAdmin root@localhost
DocumentRoot /var/www/sharedip
</VirtualHost>

#
#
#
######################################
# Vhost: www.domain.com:80
######################################
#
#
<VirtualHost *ip*:80>
ServerName www.domain.com:80
ServerAdmin webmaster@domain.com
DocumentRoot /home/www/web12/web
ServerAlias domain.com
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm
ErrorLog /home/www/web12/log/error.log
Alias /error/ "/home/www/web12/web/error/"
ErrorDocument 400 /error/invalidSyntax.html
ErrorDocument 401 /error/authorizationRequired.html
ErrorDocument 403 /error/forbidden.html
ErrorDocument 404 /error/fileNotFound.html
ErrorDocument 405 /error/methodNotAllowed.html
ErrorDocument 500 /error/internalServerError.html
ErrorDocument 503 /error/overloaded.html
AliasMatch ^/~([^/]+)(/(.*))? /home/www/web12/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /home/www/web12/user/$1/web/$3
</VirtualHost>
#
#
#
Reply With Quote
  #7  
Old 23rd February 2006, 00:04
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

And when you type www.domain.com in your browser, you still see the default Apache page?
Is it possible that you have installed Apache 1.3 and Apache 2 at the same time and that Apache 1.3 is running right now where Apache 2 should? Please post the output of
Code:
netstat -tap
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #8  
Old 23rd February 2006, 00:09
nok nok is offline
Member
 
Join Date: Feb 2006
Posts: 56
Thanks: 0
Thanked 0 Times in 0 Posts
Default

tcp 0 0 *:imaps *:* LISTEN 1010/couriertcpd
tcp 0 0 *op3s *:* LISTEN 1033/couriertcpd
tcp 0 0 *:mysql *:* LISTEN 1096/mysqld
tcp 0 0 *:netbios-ssn *:* LISTEN 1043/inetd
tcp 0 0 *op3 *:* LISTEN 1019/couriertcpd
tcp 0 0 *:imap2 *:* LISTEN 996/couriertcpd
tcp 0 0 *:www *:* LISTEN 26651/apache2
tcp 0 0 *:81 *:* LISTEN 1291/ispconfig_http
tcp 0 0 webserver:domain *:* LISTEN 26148/named
tcp 0 0 localhost:domain *:* LISTEN 26148/named
tcp 0 0 *:ftp *:* LISTEN 24638/proftpd: (acc
tcp 0 0 *:ssh *:* LISTEN 1252/sshd
tcp 0 0 localhost:953 *:* LISTEN 26148/named
tcp 0 0 *:smtp *:* LISTEN 26102/master
tcp 0 0 *:https *:* LISTEN 26651/apache2
Reply With Quote
  #9  
Old 23rd February 2006, 00:18
nok nok is offline
Member
 
Join Date: Feb 2006
Posts: 56
Thanks: 0
Thanked 0 Times in 0 Posts
Default

/var/www

is the directory shown for all requests!!
________
SOUTH PARK DICUSSION
________
Zx14 Vs Hayabusa

Last edited by nok; 22nd April 2011 at 02:10.
Reply With Quote
  #10  
Old 23rd February 2006, 00:22
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,982 Times in 3,903 Posts
 
Default

Is "*ip*" an internet IP or a private IP? If its an Internet IP, dioes domain.com really points to that IP?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
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
SSI with Apache2 on Debian jchaven Server Operation 7 25th August 2008 17:06
PHP on Apache2 no longer works after ISPconfig azorman Installation/Configuration 6 23rd July 2006 22:06
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs pontifex HOWTO-Related Questions 2 26th October 2005 17:54
Where to Start with Apache2? Vorlon Server Operation 2 20th October 2005 01:12
my default webserver failed Venkatesh.S General 1 25th July 2005 10:11


All times are GMT +2. The time now is 19:14.


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