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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 8th February 2006, 14:10
gimhan90 gimhan90 is offline
Senior Member
 
Join Date: Jan 2006
Posts: 139
Thanks: 2
Thanked 0 Times in 0 Posts
Default Sites that are added using ISPConfig Tool direct to Apache page

Hi folks,


I add a site called www.gallelink.com from ispconfig.Here is my configurations

Group: admin
Title: gallelink
Folder: admin


Basis User & Email Co-Domains Statistics Options Invoice


Server: Server 1
Hostname:www
Domain: gallelink.com
IP Address: xxx.xxx.xxx.xxx
Create DNS: unchecked
Create DNS-MX: unchecked

--------------------------------------------------------------------------------

Space MB: 100
Traffic MB: -1
Traffic Exceedance: No Action
Max. User:-1
Max. Domain: -1

--------------------------------------------------------------------------------

Shell Access: checked
CGI Scripts: checked
Standard CGIs: checked
PHP Scripts: checked
PHP Safe Mode: checked
SSI: checked
FTP Access: checked
MySQL:checked
Number of Databases: 1
SSL: unchecked
Anonymous FTP: unchecked
Anon. FTP MB: -1
WAP: unchecked
Individual Error Pages: checked
Mailuser Login: unchecked

But when i check www.gallelink.com it gose to apache index page.Not to the gallelink welcome page.(There is a ispconfig welcome page in web root).


Thx in advance,
gimhan
Reply With Quote
Sponsored Links
  #2  
Old 8th February 2006, 15:21
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,475
Thanks: 813
Thanked 5,255 Times in 4,121 Posts
Default

Is the IP you selected in the website settings for www.gallelink.com identical with the IP 66.240.254.144 ?

Is the file /etc/apache/vhosts/Vhost_ispconfig.conf included at the end of your apache httpd.conf file? This may vary a bit because your httpd.conf might be named also apache.conf or apache2.conf and be in the directory /etc/httpd, /etc/apache or /etc/apache2
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 9th February 2006, 05:36
gimhan90 gimhan90 is offline
Senior Member
 
Join Date: Jan 2006
Posts: 139
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Virtual hostinVhosts_ispconfig.conf file is empty.There are serveral files.The file with name bellow contains the configurations

Vhosts_ispconfig.conf_07-02-06_22-35-20

what is the correct vhosts_ispconfig file????


###################################
#
# ISPConfig vHost Configuration File
# Version 1.0
#
###################################
#
NameVirtualHost 66.240.254.144:80
<VirtualHost 66.240.254.144:80>
ServerName localhost
ServerAdmin root@localhost
DocumentRoot /var/www/sharedip
</VirtualHost>
#
#
######################################
# Vhost: www.gallelink.com:80
######################################
#
#
<VirtualHost 66.240.254.144:80>
ServerName www.gallelink.com:80
ServerAdmin webmaster@gallelink.com
DocumentRoot /home/www/web4/web
ServerAlias gallelink
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
ScriptAlias /cgi-bin/ /home/www/web4/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /home/www/web4/log/error.log
AddType application/x-httpd-php .php .php3 .php4 .php5
<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php3>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php4>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php5>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
php_admin_flag safe_mode On
php_admin_value open_basedir /home/www/web4/
php_admin_value file_uploads 1
php_admin_value upload_tmp_dir /home/www/web4/phptmp/
php_admin_value session.save_path /home/www/web4/phptmp/
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
Alias /error/ "/home/www/web4/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/web4/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /home/www/web4/user/$1/web/$3
</VirtualHost>
#
#
Reply With Quote
  #4  
Old 9th February 2006, 09:09
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,475
Thanks: 813
Thanked 5,255 Times in 4,121 Posts
Default

Ok, then you have an error in your apache configuration.

Please rename the latest Vhosts_ispconfig.conf_[DATE] config file to Vhosts_ispconfig.conf and run the command:

httpd -t

and post the output here.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 9th February 2006, 14:30
gimhan90 gimhan90 is offline
Senior Member
 
Join Date: Jan 2006
Posts: 139
Thanks: 2
Thanked 0 Times in 0 Posts
Default Virtual hosting

Hi..
Thx things are working now.But i have few problems.

1)
First i access the site it didn't work.Then i gave excute permission then it works but images.I gave excute permission to the images folder but it dosen't work.I can give you the statistics

su93254144:/home/www/web4/web # ls -la
total 152
drwxrwxr-x 6 web4_gallelink web4 4096 Feb 7 22:29 .
drwxr-xr-x 8 web4_gallelink web4 4096 Feb 8 22:15 ..
drwxrwxr-x 2 web4_gallelink web4 4096 Feb 7 22:26 CSS
drwxrwxr-x 2 web4_gallelink web4 4096 Feb 6 21:32 error
-rwxrwxr-x 1 web4_gallelink web4 17763 Feb 7 22:28 gallelife.htm
-rwxrwxr-x 1 web4_gallelink web4 14518 Feb 7 22:29 history.htm
drwxrwxr-x 7 web4_gallelink web4 4096 Feb 7 22:27 images
-rwxrwxr-x 1 web4_gallelink web4 13926 Feb 7 22:29 index.htm
-rwxrwxr-x 1 web4_gallelink web4 13918 Feb 7 22:29 index2.htm
-rwxrwxr-x 1 web4_gallelink web4 14702 Feb 7 22:29 leisure.htm
-rwxrwxr-x 1 web4_gallelink web4 13434 Feb 7 22:29 oldharbour.htm
-rwxrwxr-x 1 web4_gallelink web4 16043 Feb 7 22:29 services.htm
drwxrwxr-x 2 web4_gallelink web4 4096 Feb 7 04:00 stats
-rwxrwxr-x 1 web4_gallelink web4 10765 Feb 7 22:29 transport.htm

I used chmod 775 -R images
it gives all the images not permitted.


2)
It seems the /etc/apache/vhosts/Vhost_ispconfig.conf is renewing when we added a site and generating a file with a date.Becouse i have to delete all the file and rename exsiting virtual hosting file to Vhost_ispconfig.conf.(as u told before).is it?

For this problem i supose to do this thing in my httpd
Include /etc/apache2/vhosts.d/Vhost_ispconfig.*

Is it ok?
Reply With Quote
  #6  
Old 9th February 2006, 21:21
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Quote:
Originally Posted by gimhan90
Hi..
Thx things are working now.But i have few problems.

1)
First i access the site it didn't work.Then i gave excute permission then it works but images.I gave excute permission to the images folder but it dosen't work.I can give you the statistics
What's the output of
Code:
ls -la /home/www/web4/web/images
?


Quote:
Originally Posted by gimhan90
2)
It seems the /etc/apache/vhosts/Vhost_ispconfig.conf is renewing when we added a site and generating a file with a date.Becouse i have to delete all the file and rename exsiting virtual hosting file to Vhost_ispconfig.conf.(as u told before).is it?

For this problem i supose to do this thing in my httpd
Include /etc/apache2/vhosts.d/Vhost_ispconfig.*

Is it ok?
Please rename this Vhosts_ispconfig.conf_[DATE] to Vhosts_ispconfig.conf and run
Code:
httpd -t
What's the output?
__________________
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
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
ISPConfig Shared IP Error Page gjcomputer Installation/Configuration 4 30th December 2007 17:23
Easy One - ISPConfig Default Holding Page mphayesuk General 1 27th November 2005 18:30
ispconfig and apache james pfm.smits Installation/Configuration 0 12th October 2005 14:31
Accessing the ISPConfig Web Page nformosa Installation/Configuration 1 9th September 2005 14:13
Installation requirement help for ispconfig tool gg234 Installation/Configuration 1 25th August 2005 14:59


All times are GMT +2. The time now is 18:58.


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