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
  #11  
Old 11th January 2006, 00:32
brianetilley brianetilley is offline
Member
 
Join Date: Oct 2005
Posts: 82
Thanks: 4
Thanked 3 Times in 3 Posts
Default

Using Dreamweaver to upload files gives me an FTP error whenever I try to use any Host Directory other than /web/...no matter which site I am working with. If I create these directories manually on the server what permissions should I assign them? Do I need to change the apache2.conf to show these new directories? Would it be better to just reinstall ISPConfig and make the correct changes there?

Brian
Reply With Quote
Sponsored Links
  #12  
Old 11th January 2006, 01:45
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

Why do you want to access other directories than web (and its subdirectories)? Because that's the directory where you should upload your files to.
__________________
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
  #13  
Old 11th January 2006, 05:39
brianetilley brianetilley is offline
Member
 
Join Date: Oct 2005
Posts: 82
Thanks: 4
Thanked 3 Times in 3 Posts
Default

Sorry for the confusion...the only directory that I can access using Dreamweaver is /web/. Every other combination gives me an FTP error;

'cannot open remote folder /var/www/ (or any other combination). Access Denied. The file may not exist, or there could be a permission problem'.

I need to have PHP/CGI for my sites, and I need to be able to access them from Dreamweaver. I can upload the files for all the sites, and they go into their own directories in /home/www/ (web9 - web17), but they will not load in a browser other than the one that uses the .htm extension. I'm sure I am missing something really simple, but I keep going around in circles.

Brian
Reply With Quote
  #14  
Old 11th January 2006, 11:10
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

So you mean you're able to upload to /home/www/web9/web, for example? Please post the output of
Code:
ls -la /home/www/web9/web
Also, what's in your 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
  #15  
Old 11th January 2006, 18:28
brianetilley brianetilley is offline
Member
 
Join Date: Oct 2005
Posts: 82
Thanks: 4
Thanked 3 Times in 3 Posts
Default

brian@www:~$ ls -la /home/www/web9/web
total 348
drwxrwxr-x 12 web9_brian web9 4096 2006-01-09 21:52 .
drwxr-xr-x 9 web9_brian web9 4096 2006-01-10 08:01 ..
-rw-r--r-- 1 web9_brian web9 16486 2006-01-09 21:50 about.php
-rw-r--r-- 1 web9_brian web9 9870 2006-01-09 21:50 affiliate.php
-rw-r--r-- 1 web9_brian web9 9874 2006-01-09 21:50 cart.php
-rw-r--r-- 1 web9_brian web9 10564 2006-01-09 21:50 categories.php
-rw-r--r-- 1 web9_brian web9 807 2006-01-09 21:50 clearpixel.gif
-rw-r--r-- 1 web9_brian web9 101214 2006-01-09 21:50 createdb.php
-rw-r--r-- 1 web9_brian web9 1266 2006-01-09 21:50 dwtemplatereadme.txt
-rw-r--r-- 1 web9_brian web9 5118 2006-01-09 21:50 emailfriend.php
drwxrwxr-x 2 web9_brian web9 4096 2006-01-08 19:33 error
drwxr-xr-x 4 web9_brian web9 4096 2006-01-09 21:51 images
-rw-rw-r-- 1 web9_brian web9 1225 2006-01-10 08:01 index.html
-rw-r--r-- 1 web9_brian web9 15565 2006-01-09 21:51 index.php
-rw-r--r-- 1 web9_brian web9 1622 2006-01-09 21:51 instructions.txt
drwxr-xr-x 2 web9_brian web9 4096 2006-01-09 21:51 Library
-rw-r--r-- 1 web9_brian web9 7691 2006-01-09 21:51 menu_changes.txt
drwxr-xr-x 3 web9_brian web9 4096 2006-01-09 21:51 OlderStuff
-rw-r--r-- 1 web9_brian web9 18515 2006-01-09 21:52 popouttext.js
-rw-r--r-- 1 web9_brian web9 10576 2006-01-09 21:52 proddetail.php
drwxr-xr-x 2 web9_brian web9 4096 2006-01-09 21:52 prodimages
-rw-r--r-- 1 web9_brian web9 10574 2006-01-09 21:52 products.php
-rw-r--r-- 1 web9_brian web9 719 2006-01-09 21:52 README.txt
drwxr-xr-x 2 web9_brian web9 4096 2006-01-09 21:52 Reseller_Affiliate
-rw-r--r-- 1 web9_brian web9 10571 2006-01-09 21:52 search.php
drwxr-xr-x 2 web9_brian web9 4096 2006-01-09 21:52 SiteExamples
-rw-r--r-- 1 web9_brian web9 10560 2006-01-09 21:52 sorry.php
-rw-r--r-- 1 web9_brian web9 3208 2006-01-09 21:52 srdlicense.txt
drwxr-xr-x 2 web9_brian web9 4096 2006-01-09 04:00 stats
-rw-r--r-- 1 web9_brian web9 1586 2006-01-09 21:52 style.css
drwxr-xr-x 2 web9_brian web9 4096 2006-01-09 21:52 Templates
-rw-r--r-- 1 web9_brian web9 10586 2006-01-09 21:52 thanks.php
drwxr-xr-x 4 web9_brian web9 4096 2006-01-09 21:54 vsadmin
brian@www:~$


From Vhosts_ispconfig.conf;

###################################
#
# ISPConfig vHost Configuration File
# Version 1.0
#
###################################
#
NameVirtualHost 68.149.224.197:80
<VirtualHost 68.149.224.197:80>
ServerName localhost
ServerAdmin root@localhost
DocumentRoot /var/www/sharedip
</VirtualHost>
#
#
######################################
# Vhost: www.ultragrowth.ca:80
######################################
#
#
<VirtualHost 68.149.224.197:80>
SuexecUserGroup web15_growing web15
ServerName www.ultragrowth.ca:80
/etc/apache2/vhosts/Vhosts_ispconfig.conf: unmodified, readonly: line 1


Brian
Reply With Quote
  #16  
Old 11th January 2006, 18:56
brianetilley brianetilley is offline
Member
 
Join Date: Oct 2005
Posts: 82
Thanks: 4
Thanked 3 Times in 3 Posts
Default

I did not get all of the Vhosts_ispconfig.conf in the last post. Here is the complete file.....This file is too large to post, so I will cut it into two parts.

PART 1
###################################
#
# ISPConfig vHost Configuration File
# Version 1.0
#
###################################
#
NameVirtualHost 68.149.224.197:80
<VirtualHost 68.149.224.197:80>
ServerName localhost
ServerAdmin root@localhost
DocumentRoot /var/www/sharedip
</VirtualHost>
#
#
######################################
# Vhost: www.ultragrowth.ca:80
######################################
#
#
<VirtualHost 68.149.224.197:80>
SuexecUserGroup web15_growing web15
ServerName www.ultragrowth.ca:80
ServerAdmin webmaster@ultragrowth.ca
DocumentRoot /home/www/web15/web
ServerAlias ultragrowth.ca
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 i
ndex.shtml index.cgi index.pl index.jsp Default.htm default.htm
ScriptAlias /cgi-bin/ /home/www/web15/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /home/www/web15/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/ "/home/www/web15/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/web15/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /home/www/web15/user/$1/web/$3
</VirtualHost>
#
#
#
######################################
# Vhost: www.ultragrowth.biz:80
######################################
#
#
<VirtualHost 68.149.224.197:80>
SuexecUserGroup web14_growing web14
ServerName www.ultragrowth.biz:80
ServerAdmin webmaster@ultragrowth.biz
DocumentRoot /home/www/web14/web
ServerAlias ultragrowth.biz
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 i
ndex.shtml index.cgi index.pl index.jsp Default.htm default.htm
ScriptAlias /cgi-bin/ /home/www/web14/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /home/www/web14/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/ "/home/www/web14/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/web14/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /home/www/web14/user/$1/web/$3
</VirtualHost>
#
#
#
######################################
# Vhost: www.briantilley.com:80
######################################
#
#
<VirtualHost 68.149.224.197:80>
SuexecUserGroup web11_admin web11
ServerName www.briantilley.com:80
ServerAdmin webmaster@briantilley.com
DocumentRoot /home/www/web11/web
ServerAlias briantilley.com
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 i
ndex.shtml index.cgi index.pl index.jsp Default.htm default.htm
ScriptAlias /cgi-bin/ /home/www/web11/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /home/www/web11/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/ "/home/www/web11/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/web11/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /home/www/web11/user/$1/web/$3
</VirtualHost>
#
#
#
Reply With Quote
  #17  
Old 11th January 2006, 18:56
brianetilley brianetilley is offline
Member
 
Join Date: Oct 2005
Posts: 82
Thanks: 4
Thanked 3 Times in 3 Posts
Default

PART 2

######################################
# Vhost: www.sweatforhealth.com:80
######################################
#
#
<VirtualHost 68.149.224.197:80>
SuexecUserGroup web10_gethealthy web10
ServerName www.sweatforhealth.com:80
ServerAdmin webmaster@sweatforhealth.com
DocumentRoot /home/www/web10/web
ServerAlias sweatforhealth.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/ /home/www/web10/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /home/www/web10/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/web10/
php_admin_value file_uploads 1
php_admin_value upload_tmp_dir /home/www/web10/phptmp/
php_admin_value session.save_path /home/www/web10/phptmp/
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
Alias /error/ "/home/www/web10/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/web10/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /home/www/web10/user/$1/web/$3
</VirtualHost>
#
#
#
######################################
# Vhost: www.earthstationproductions.com:80
######################################
#
#
<VirtualHost 68.149.224.197:80>
SuexecUserGroup web9_brian web9
ServerName www.earthstationproductions.com:80
ServerAdmin webmaster@earthstationproductions.com
DocumentRoot /home/www/web9/web
ServerAlias earthstationproductions.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/ /home/www/web9/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /home/www/web9/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/web9/
php_admin_value file_uploads 1
php_admin_value upload_tmp_dir /home/www/web9/phptmp/
php_admin_value session.save_path /home/www/web9/phptmp/
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
Alias /error/ "/home/www/web9/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/web9/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /home/www/web9/user/$1/web/$3
</VirtualHost>
#
#
#
######################################
# Vhost: www.ultragrowthfoods.info:80
######################################
#
#
<VirtualHost 68.149.224.197:80>
SuexecUserGroup web16_growing web16
ServerName www.ultragrowthfoods.info:80
ServerAdmin webmaster@ultragrowthfoods.info
DocumentRoot /home/www/web16/web
ServerAlias ultragrowthfoods.info
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/web16/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /home/www/web16/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/ "/home/www/web16/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/web16/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /home/www/web16/user/$1/web/$3
</VirtualHost>
#
#
#
######################################
# Vhost: www.ultragrowthfoods.com:80
######################################
#
#
<VirtualHost 68.149.224.197:80>
SuexecUserGroup web17_growing web17
ServerName www.ultragrowthfoods.com:80
ServerAdmin webmaster@ultragrowthfoods.com
DocumentRoot /home/www/web17/web
ServerAlias ultragrowthfoods.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/ /home/www/web17/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /home/www/web17/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/ "/home/www/web17/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/web17/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /home/www/web17/user/$1/web/$3
</VirtualHost>
#
#


Brian
Reply With Quote
  #18  
Old 11th January 2006, 20:19
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

Hm, looks ok. And what does exactly happen when you try to access for example index.php from /home/www/web9/web 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
  #19  
Old 11th January 2006, 20:21
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

I've just tried myself. PHP is working when you try to access http://www.earthstationproductions.com/index.php, you only get a MySQL warning because of a wrong MySQL password.
__________________
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
  #20  
Old 11th January 2006, 20:29
brianetilley brianetilley is offline
Member
 
Join Date: Oct 2005
Posts: 82
Thanks: 4
Thanked 3 Times in 3 Posts
 
Default

All of the sites are accessible using index.php in the URL. So all I have to do is delete the index.html page in all website directories? Thanks...

Brian
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
Web Issues - Access Forbidden! rytech Installation/Configuration 23 22nd June 2006 16:25
website access while domain is not activ mystix General 10 28th January 2006 14:32
ISP install problems Debian sarge 3.1 lerra Installation/Configuration 1 5th January 2006 17:37
FTP access to web files in ISPConfig Rocky Installation/Configuration 14 9th November 2005 00:17
FTP access? ctroyp Installation/Configuration 14 29th September 2005 18:26


All times are GMT +2. The time now is 15:54.


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