
19th February 2006, 09:36
|
|
Member
|
|
Join Date: Dec 2005
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Index of /
I'm confused on how this works I guess. I've ran the Ubuntu Perfect Setup and everything appears to be working except that when I go to either of the domains I've configured, I get the "Index of /" screen. I am expecting that it would put me in the web1/ or web2/ folder. Is there something I did wrong? If you're curious to see, the two sites are www.brojoh.com and www.preventenance.com
I would appreciate it if someone can tell me what I did wrong. Thank you.
|

19th February 2006, 10:01
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,888
Thanks: 693
Thanked 4,188 Times in 3,205 Posts
|
|
Is your server in a NAT enviroment (behind a router)?
Did you get any errors during installation or are there any errors in /home/admispconfig/ispconfig/ispconfig.log ?
|

19th February 2006, 12:12
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Also have a look at Vhosts_ispconfig.conf. Is it empty?
|

19th February 2006, 22:52
|
|
Member
|
|
Join Date: Dec 2005
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
My Vhosts_ispconfig.conf is not empty. Here is what it says:
Code:
###################################
#
# ISPConfig vHost Configuration File
# Version 1.0
#
###################################
#
NameVirtualHost 192.168.0.100:80
<VirtualHost 192.168.0.100:80>
ServerName localhost
ServerAdmin root@localhost
DocumentRoot /var/www/sharedip
</VirtualHost>
#
#
######################################
# Vhost: www.brojoh.com:80
######################################
#
#
<VirtualHost 192.168.0.100:80>
ServerName www.brojoh.com:80
ServerAdmin webmaster@brojoh.com
DocumentRoot /var/www/web1/web
ServerAlias brojoh.com brojoh.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
ScriptAlias /cgi-bin/ /var/www/web1/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /var/www/web1/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 Off
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
Alias /error/ "/var/www/web1/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 ^/~([^/]+)(/(.*))? /var/www/web1/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web1/user/$1/web/$3
</VirtualHost>
#
#
#
######################################
# Vhost: www.preventenance.com:80
######################################
#
#
<VirtualHost 192.168.0.100:80>
ServerName www.preventenance.com:80
ServerAdmin webmaster@preventenance.com
DocumentRoot /var/www/web2/web
ServerAlias preventenance.com preventenance.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
ScriptAlias /cgi-bin/ /var/www/web2/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /var/www/web2/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 Off
Alias /error/ "/var/www/web2/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 ^/~([^/]+)(/(.*))? /var/www/web2/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web2/user/$1/web/$3
</VirtualHost>
#
#
#
One thing I notice is that it shows 80 for the port, but my ISP blocks port 80, so i redirect to 8080. During the installation when you say to add "Listen 443", I also added "Listen 8080" hoping that would make it all work. How do I configure it to listen on port 8080?
P.S. There were no errors in the log, just two warnings that said:
Code:
19.02.2006 - 03:01:16 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 1860: WARNING: could not groupadd -g 12001 web1_anonftp &> /dev/null
19.02.2006 - 03:01:16 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 1861: WARNING: could not useradd -d /var/www/web1/ftp -g web1_anonftp -M -s /bin/false -u 12001 web1_anonftp &> /dev/null
I really appreciate your guy's help.
|

19th February 2006, 23:22
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Quote:
|
Originally Posted by browngb
One thing I notice is that it shows 80 for the port, but my ISP blocks port 80, so i redirect to 8080. During the installation when you say to add "Listen 443", I also added "Listen 8080" hoping that would make it all work. How do I configure it to listen on port 8080?
|
If you want to use port 8080, you must change the code in the function make_vhost() (beginning on line 1188) in /root/ispconfig/scripts/lib/config.lib.php.
|

19th February 2006, 23:43
|
|
Member
|
|
Join Date: Dec 2005
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Ok, I edited the config file and deleted the sites and users in ISP Manger, but whenever I try to add them back, it says that the names are already in use. How do I clear out the old ones?
|

19th February 2006, 23:49
|
|
Member
|
|
Join Date: Dec 2005
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Nevermind, it somehow went away, and I was able to add both sites. Preventenance.com works fine, but brojoh.com now gives me the Shared IP page.
|

19th February 2006, 23:59
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Quote:
|
Originally Posted by browngb
Ok, I edited the config file and deleted the sites and users in ISP Manger, but whenever I try to add them back, it says that the names are already in use. How do I clear out the old ones?
|
You must check the recycle bin.
Quote:
|
Preventenance.com works fine, but brojoh.com now gives me the Shared IP page.
|
If you created www.brojoh.com, then you must use www.brojoh.com in your browser. If you add the Co-Domain brojoh.com (without host), you can also use brojoh.com in your browser.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 03:34.
|
Recent comments
1 day 1 hour ago
1 day 6 hours ago
1 day 7 hours ago
1 day 8 hours ago
1 day 10 hours ago
1 day 14 hours ago
1 day 15 hours ago
1 day 17 hours ago
2 days 6 hours ago
2 days 8 hours ago