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 20th May 2006, 20:02
tgansert tgansert is offline
Member
 
Join Date: May 2006
Posts: 72
Thanks: 0
Thanked 0 Times in 0 Posts
Default Excuse me, sir. Your PHP is showing.

When I go to https://vhost.vdomain.tld, I see actual PHP code. mod_php is loaded in apache-ssl via 'apache-modconf apache-ssl enable mod_php'. This is confirmed in dpkg-reconfigure apache-ssl. I cannot confirm it any other way.

Is this apache-ssl being driven from another conf file?
Reply With Quote
Sponsored Links
  #2  
Old 21st May 2006, 14:30
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,007
Thanks: 840
Thanked 5,651 Times in 4,461 Posts
Default

If you have ISPConfig installed, just check the php checkbox for the website in ISPConfig and the vhost is configured for PHP with and without SSL. SSL is only configured, yif you checked the SSL checkbox for the website and created an SSL certificate on the options tab.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 24th May 2006, 15:41
tgansert tgansert is offline
Member
 
Join Date: May 2006
Posts: 72
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Both PHP and SSL are checked off.
Reply With Quote
  #4  
Old 24th May 2006, 19:22
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
Default

You mean they are enabled?
Which distribution do you use?
__________________
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
  #5  
Old 24th May 2006, 20:34
tgansert tgansert is offline
Member
 
Join Date: May 2006
Posts: 72
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes, both SSL & PHP are enabled (default for every vhost/vdom).

Distros:
Apache/1.3.34 (Debian)
PHP/4.4.2-1
mod_ssl/2.8.25
OpenSSL/0.9.8a
MySQL/5.0.16
ISPConfig/2.2.2
Reply With Quote
  #6  
Old 25th May 2006, 15:57
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
Default

I guess you installed the package apache-ssl. This is a second Apache for port 443 with its own configuration files. I'd remove it and configure your Apache as outlined here: http://www.howtoforge.com/perfect_setup_debian_sarge
__________________
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
  #7  
Old 25th May 2006, 21:02
tgansert tgansert is offline
Member
 
Join Date: May 2006
Posts: 72
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I've removed the apache-ssl server, but only get a 404 error when I browse to the site over SSL. Where are the SSL logs? /var/log/apache-ssl/ and some manual logs I have set up report nothing.
Reply With Quote
  #8  
Old 26th May 2006, 02:41
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
Default

Quote:
Originally Posted by tgansert
I've removed the apache-ssl server, but only get a 404 error when I browse to the site over SSL.
Is it the ISPConfig 404 page, or the standard Apache 404 page?
The error log should be in /var/log/apache or /var/log/apache2 or similar.
__________________
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
  #9  
Old 26th May 2006, 16:38
tgansert tgansert is offline
Member
 
Join Date: May 2006
Posts: 72
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The error I received is 'Connection Refused'. Funny how it took downloading Mozilla to get the proper error. IE7 and FireFox both gave me cute and cuddly apologies that didn't tell me anything about why the site failed to return any response.

As far as logs are concerned, during a time when the webserver never gets hit, in the /var/log/ directory I did a du -a > ../du1 then refreshed the page about 50 times, then did a du -a > ../du2. After that I did vimdiff du1 du2 and I could see a summary of all files that had been changed between the two du -a commands (about a 5 minute span). I saw some changes in syslog and mail, but all of the changes I saw were not related to Apache, SSL, or ISPConfig.
Reply With Quote
  #10  
Old 26th May 2006, 17:34
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
 
Default

Quote:
Originally Posted by tgansert
The error I received is 'Connection Refused'. Funny how it took downloading Mozilla to get the proper error. IE7 and FireFox both gave me cute and cuddly apologies that didn't tell me anything about why the site failed to return any response.
Ok, that's not a 404 error.
What's the output of
Code:
netstat -tap
and
Code:
iptables -L
?
__________________
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
"unknown filter" growing apache log. wwparrish Installation/Configuration 6 1st September 2006 19:40
Downgrade php5 to php4.4.2 llizards Installation/Configuration 4 14th March 2006 00:58
all my site go to /var/www/ Absolusteph Installation/Configuration 14 11th March 2006 22:27
Can not access website after uploading brianetilley Installation/Configuration 21 11th January 2006 20:43
Sharedip Ivan Installation/Configuration 3 7th December 2005 16:36


All times are GMT +2. The time now is 12:23.


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