![]() |
openSuse10.2, ISPConfig, no PHP
Hopefully I have posted this in the right place now... previously I was trying to work through a problem here Transferring Hard Drive to new System.
Since my last post there I started from scratch with opensuse10.2 and the Perfect Setup for opensuse10.2. This time I did not perform the steps that indicated I would install ISPConfig at the end of the HowTo which I did not do. I loaded one of my sites and sure enough I was able to access PHP pages with no problems. This leads me to believe that the issue is not with opensuse as some tried to convince me before. I don't believe the issue is with ISPConfig either, however I do believe there is something in the process of installing ISPConfig that is preventing my PHP pages from being accessed. I like ISPConfig and would like to figure out why this is happening so I can continue to use it. :-) Since I reinstalled opensuse10.2 I don't have anymore of the files from the previous install. Still some information in the thread I linked above though. Can we try to figure this out? It could be as simple as ISPConfig not setting my sites up under /srv/www/htdocs (I am thinking about the apache2 error log in the other thread... and that is where I loaded my site after this new install) but if that is the reason why didn't it? how do I fix it? |
The installation procedure of ISPConfig modifies the PHP settings for Apache(2). It removes the standard allowed php execution. Otherwise you could not select to switch php on or off for a website. If you want to run PHP, you have to set the PHP tick box for every website you want php to work on. Maybe you created a website yourself in the main apache2.conf? If that's true, you should leave the creation of sites and apache configurations to ISPconfig. Just thinking out loud.
|
Hi, thanks for replying!
Quote:
Quote:
With ISPConfig installed, sites up, this is the appache2 error I receive when I tried to access PHP content Code:
[Sun Feb 18 17:52:29 2007] [error] [client ::1] Directory index forbidden by Options directive: /srv/www/htdocs/ |
Please copy your websites to the website root directories that ISPConfig creates for your site and not in the default suse directory.
|
Quote:
Each time I tried the setup with ISPConfig an ls of /srv/www/ would look like this Code:
cgi-bin htdig htdoc perl-lib web1 web2 web3 www.thefractalfarm.net www.latcarfproductions.com www.heartwinds.org |
Quote:
/srv/www/www.thefractalfarm.net/web/ Quote:
|
Quote:
Maybe "copying" isn't the correct term? Either way if I move (or copy) the files to /srv/www/www.thefractalfarm.net/web/ they also appear in the directory /srv/www/web1/web/ without me having to copy or move them there. It seems to work vise-versa also. I have no doubt I am putting the files where they need to be. As I said before I tried it last without ISPConfig and I was able to access PHP content. I am in the process of doing a clean install again with ISPConfig and will see what happens then. |
That's the intended behavioral. www.thefractalfarm.net is a symbolic link to web1 in the directory /srv/www. Do
Code:
ls -l /srv/www |
Okay... after a complete clean reinstall of opensuse10.2 I once again have no access to PHP content or files. :mad:
Per Falko's request in another thread; "What's the output of ifconfig" Code:
server:~ # ifconfigCode:
###################################and what file are we changing here? Code:
2. You add these lines in the "Apache directives" field manually: |
|
| All times are GMT +2. The time now is 11:34. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.