#1  
Old 19th February 2006, 09:36
browngb browngb is offline
Member
 
Join Date: Dec 2005
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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.
Reply With Quote
Sponsored Links
  #2  
Old 19th February 2006, 10:01
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,573
Thanks: 792
Thanked 4,980 Times in 3,901 Posts
Default

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 ?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 19th February 2006, 12:12
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

Also have a look at Vhosts_ispconfig.conf. Is it empty?
__________________
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
  #4  
Old 19th February 2006, 22:52
browngb browngb is offline
Member
 
Join Date: Dec 2005
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.
Reply With Quote
  #5  
Old 19th February 2006, 23:22
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

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.
__________________
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 19th February 2006, 23:43
browngb browngb is offline
Member
 
Join Date: Dec 2005
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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?
Reply With Quote
  #7  
Old 19th February 2006, 23:49
browngb browngb is offline
Member
 
Join Date: Dec 2005
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.
Reply With Quote
  #8  
Old 19th February 2006, 23:59
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

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.
__________________
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 Broke zer0_g666 General 9 14th January 2007 16:15
To change Index page dstme HOWTO-Related Questions 3 17th November 2005 10:03
/stats doesn't work (password not accepted) Hellbound General 6 15th September 2005 15:34


All times are GMT +2. The time now is 03:50.


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