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 9th January 2006, 19:25
brianetilley brianetilley is offline
Member
 
Join Date: Oct 2005
Posts: 82
Thanks: 4
Thanked 3 Times in 3 Posts
Default Can not access website after uploading

Hi,

Using Dreamweaver to upload a site, my 'web' folder shows the files, but when I try to access the site I get a window asking for username and password for "Members Only". My Dreamweaver FTP info do not work, nor my client, reseller, or admin info. What am I missing?? thanks...

Brian
Reply With Quote
Sponsored Links
  #2  
Old 9th January 2006, 20:59
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,478
Thanks: 813
Thanked 5,255 Times in 4,121 Posts
Default

Did you upload the files with an administrator user?
Did you upload the files to the /web directory?
Have you used the functions in webFTP to password protect directories in this website?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 9th January 2006, 21:26
brianetilley brianetilley is offline
Member
 
Join Date: Oct 2005
Posts: 82
Thanks: 4
Thanked 3 Times in 3 Posts
Default

The user is admin. The files are in /web... but the index page in /web/user/username/web is what comes up in a browser. I am connecting via Dreamweaver to Host directory:/web/ with the username and password with no problem, but I can not access /web/user/username/web/. I have not password protected any of the folders in that path.

Brian
Reply With Quote
The Following User Says Thank You to brianetilley For This Useful Post:
AbannyvabVask (20th December 2013)
  #4  
Old 10th January 2006, 06:19
brianetilley brianetilley is offline
Member
 
Join Date: Oct 2005
Posts: 82
Thanks: 4
Thanked 3 Times in 3 Posts
Default

I have uploaded a number of sites and they are now going to the correct folder /web/ The only sites that I can get to load in a browser are .htm & .html sites. My PHP sites do not load. I remember setting the apache2.conf to recognize PHP file extension.

Brian
Reply With Quote
  #5  
Old 10th January 2006, 10:56
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,478
Thanks: 813
Thanked 5,255 Times in 4,121 Posts
Default

Do not set enable the .php extension in apache2.conf! This is all set by ISPCOnfig. Remove your manual changes from apache2.conf and chech the "php" checkbox in the settings for the website to enable php.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 10th January 2006, 15:44
brianetilley brianetilley is offline
Member
 
Join Date: Oct 2005
Posts: 82
Thanks: 4
Thanked 3 Times in 3 Posts
Default

I was referring to the initial setup of Debian 3.1 and have not made any changes to the apache2.conf file. The ispconfig manual does not mention the 'PHP Safe Mode' option. Should this also be checked when using PHP? I do have the 'PHP Scripts:' checked but the pages do not load. The site is in the /web/ directory. What is the purpose of the /web/user/username/web/ directory? Also, what are the check boxes next to all directories and files for?

Brian
Reply With Quote
  #7  
Old 10th January 2006, 17:31
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Quote:
Originally Posted by brianetilley
I was referring to the initial setup of Debian 3.1 and have not made any changes to the apache2.conf file. The ispconfig manual does not mention the 'PHP Safe Mode' option. Should this also be checked when using PHP?
Not necessarily if you just want PHP to work. It's optional.

Quote:
Originally Posted by brianetilley
I do have the 'PHP Scripts:' checked but the pages do not load.
And your PHP file is in /var/www/web<id>/web or something like this?

Quote:
Originally Posted by brianetilley
What is the purpose of the /web/user/username/web/ directory?
Have a look at chapter 2.2.9 on http://www.ispconfig.org/downloads/m..._src.htm#4_2_2.

Quote:
Originally Posted by brianetilley
Also, what are the check boxes next to all directories and files for?
What files and directories?
__________________
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 10th January 2006, 20:39
brianetilley brianetilley is offline
Member
 
Join Date: Oct 2005
Posts: 82
Thanks: 4
Thanked 3 Times in 3 Posts
Default

I was referring to the 'Web-FTP' tab and the directories and files that are listed in 'Folder'. I have not come across anything in the documentation that describes their purpose.. Should I use /var/www/web for the host directory using Dreanweaver with PHP sites...with the same Username and Password? Do sites using plain .htm or .html use the /web/ directory instead? Thanks for the info...

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

I installed PHPMyAdmin 2.6.4-pl3 using "Management"-> "Update Manager". It wants a Username and Password, even though I haven't set one. Is there a default Login?

I see where I should have selected 'expert' mode during installation to enable CGI and PHP using suExec. Is there a way I can edit this so I can use /var/www/ as the default home directory for websites?

Brian
Reply With Quote
The Following User Says Thank You to brianetilley For This Useful Post:
AbannyvabVask (20th December 2013)
  #10  
Old 10th January 2006, 22:47
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
 
Default

Quote:
Originally Posted by brianetilley
I installed PHPMyAdmin 2.6.4-pl3 using "Management"-> "Update Manager". It wants a Username and Password, even though I haven't set one. Is there a default Login?
You have to use a MySQL user and his password here, because you're trying to login to MySQL. For example, you can use the same MySQL user (usually root) and password you used when you installed ISPConfig.

Quote:
Originally Posted by brianetilley
I see where I should have selected 'expert' mode during installation to enable CGI and PHP using suExec. Is there a way I can edit this so I can use /var/www/ as the default home directory for websites?
This is going to be difficult if you have already set up some web sites...

Quote:
Should I use /var/www/web for the host directory using Dreanweaver with PHP sites...with the same Username and Password? Do sites using plain .htm or .html use the /web/ directory instead? Thanks for the info...
You have to upload all files to /var/www/web1/web, /var/www/web2/web, etc. If you chose another document root than /var/www during ISPConfig installation, e.g. /home/www, then it would be /home/www/web1/web, /home/www/web2/web, ...
__________________
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
Web Issues - Access Forbidden! rytech Installation/Configuration 23 22nd June 2006 15:25
website access while domain is not activ mystix General 10 28th January 2006 13:32
ISP install problems Debian sarge 3.1 lerra Installation/Configuration 1 5th January 2006 16:37
FTP access to web files in ISPConfig Rocky Installation/Configuration 14 8th November 2005 23:17
FTP access? ctroyp Installation/Configuration 14 29th September 2005 17:26


All times are GMT +2. The time now is 07:57.


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