Current time: 12-23-2024, 06:01 PM Hello There, Guest! (LoginRegister)


Post Reply 
[Howto] Change ispcp default listening port and add ssl
Author Message
mwlake Offline
Junior Member
*

Posts: 18
Joined: Oct 2008
Reputation: 0
Post: #11
Exclamation RE: [Howto] Change ispcp default listening port and add ssl
Used your instructions Change the default port of ispCP and enabling SSL and all is working great on my Ubuntu Lucid Server.

I have also installed Munin for monitoring. Problem is the usual URL for munuin is http://www.servername.tld/munin. When I enter the munin link I get redirected to http://www.servername.tld:8443. Is there some redirect you could suggest in the modified 00_master.conf that would remedy this issue?
06-30-2011 07:22 AM
Visit this user's website Find all posts by this user Quote this message in a reply
aseques Offline
Member
*****
Dev Team

Posts: 330
Joined: May 2008
Reputation: 4
Post: #12
RE: [Howto] Change ispcp default listening port and add ssl
(06-30-2011 07:22 AM)mwlake Wrote:  Used your instructions Change the default port of ispCP and enabling SSL and all is working great on my Ubuntu Lucid Server.

I have also installed Munin for monitoring. Problem is the usual URL for munuin is http://www.servername.tld/munin. When I enter the munin link I get redirected to http://www.servername.tld:8443. Is there some redirect you could suggest in the modified 00_master.conf that would remedy this issue?
There are several options:
.- You could try this:
Changing:
Code:
RewriteCond %{REQUEST_URI}  !^\/(webmail|pma|ftp)($|\/.*) [NC]
To: :
Code:
RewriteCond %{REQUEST_URI}  !^\/(webmail|pma|ftp|munin)($|\/.*) [NC]

And create a new conditions like this:
Code:
RewriteCond %{REQUEST_URI}  !^\/php5\/php5-fcgi-starter\/munin\/.* [NC]
If that doesn't work, you should enable the rewrite logs and see what's wrong or missing...
.- You could also create a rule with mod rewrite in virtualhost for port 80 to disable the redirection of munin to https.
.- Or you could change the munin domain and use something like stats.example.com
06-30-2011 04:26 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)