HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   Can not access website after uploading (http://www.howtoforge.com/forums/showthread.php?t=1973)

brianetilley 9th January 2006 19:25

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

till 9th January 2006 20:59

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?

brianetilley 9th January 2006 21:26

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

brianetilley 10th January 2006 06:19

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

till 10th January 2006 10:56

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.

brianetilley 10th January 2006 15:44

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

falko 10th January 2006 17:31

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?

brianetilley 10th January 2006 20:39

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

brianetilley 10th January 2006 22:18

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

falko 10th January 2006 22:47

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, ...


All times are GMT +2. The time now is 10:19.

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