
10th December 2006, 14:32
|
|
Member
|
|
Join Date: Aug 2005
Location: Switzerland
Posts: 91
Thanks: 10
Thanked 0 Times in 0 Posts
|
|
httpd missing?
I have a very strange problem:
I've installed ISPConfig on a Debian Server. But it seems the main httpd is not installed?! I can't find httpd.conf in /etc and if I try to access webpages it just outputs the php-code...
Virtuals hosts don't work too...but ISPConfig Control Panel works so far. No errors at installation as I can see..
What can I do?
|

10th December 2006, 15:20
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,890
Thanks: 693
Thanked 4,188 Times in 3,205 Posts
|
|
The ISPConfig httpd is only used for the controlpanle backend and not for your websites.
Your httpd.conf file under debian is /etc/apache/apache.conf, /etc/apache2/apache2.conf, /etc/apache/httpd.conf or/etc/apache2/httpd.conf
|

11th December 2006, 22:38
|
|
Member
|
|
Join Date: Aug 2005
Location: Switzerland
Posts: 91
Thanks: 10
Thanked 0 Times in 0 Posts
|
|
OK, thanks a lot, I'm a debian newbie :-)
But now I have the next problem. PHP and my virtual hosts doesn't work...I have no clue what's the cause... :-(
If I restart apache, I get following message:
Forcing reload of web server: Apache2[Mon Dec 11 22:29:24 2006] [warn] NameVirtualHost 192.168.3.10:80 has no VirtualHosts
[Mon Dec 11 22:29:24 2006] [warn] NameVirtualHost 192.168.3.10:80 has no VirtualHosts
.
PHP Websites are just shown as http docs...that means it just shows the php code..
Do you have any idea, what's the problem?
|

11th December 2006, 22:42
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,890
Thanks: 693
Thanked 4,188 Times in 3,205 Posts
|
|
Do you mean php websites that existed vefore you installed ISPConfig or sites you created in ISPConfig?
|

11th December 2006, 22:55
|
|
Member
|
|
Join Date: Aug 2005
Location: Switzerland
Posts: 91
Thanks: 10
Thanked 0 Times in 0 Posts
|
|
I set up this debian 3.1 server from the bottom, it's a fresh installation. I tried to transfer the sites from another fedora core 4 ispconfig server. But I transfered all manually. I also did all the setup for resellers, clients, websites, ... manually. But virtual hosts doesn't work, that means, it just shows me the "shared ip site". And with php I don't know if it's an install problem since debian perfect setup....
|

11th December 2006, 23:08
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,890
Thanks: 693
Thanked 4,188 Times in 3,205 Posts
|
|
If you get the shared IP page, then you selected the wrong IP address for the website in ISPConfig. If you are in a NAT enviroment behind a router, you must chose your internal IP.
|

12th December 2006, 07:55
|
|
Member
|
|
Join Date: Aug 2005
Location: Switzerland
Posts: 91
Thanks: 10
Thanked 0 Times in 0 Posts
|
|
That's not the problem. It must be something due to my debian server...I've tried to reach my websites also from "outside" my network and the same errors appeared. But as I have Source and Destination NAT on my router it's also no problem to access them from "inside".
I try to set up another debian server, perhaps it will help me. But I'm really not keen on do all the reseller/clients/websites entries again manually.. :-(
|

12th December 2006, 09:14
|
|
Moderator
|
|
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,010
Thanks: 254
Thanked 134 Times in 120 Posts
|
|
Quote:
|
if I try to access webpages it just outputs the php-code...
|
I'm sure that you have enabled the "PHP Scripts:" option in ISPconfig > Basis .. right??
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 09:10.
|
|
Recent comments
1 day 6 hours ago
1 day 11 hours ago
1 day 13 hours ago
1 day 14 hours ago
1 day 15 hours ago
1 day 20 hours ago
1 day 21 hours ago
1 day 23 hours ago
2 days 12 hours ago
2 days 14 hours ago