This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Apache & Sentora
#1
Apache & Sentora
Hello,

In my old ZPanel setup, I set my https virtual host in /etc/apache2/apache2.conf, part of the virtual host had ProxyPass and Alias entries.

In Sentora, I have set a custom vhost, as per the help doc.  The site works fine, but the if I try the proxy url, it gives a 500 internal server error and the alias url gives a 403 access forbidden error

I also have this in the custom vhost:
<Directory /var/sentora/hostdata/dynamite/public_html/dynamite_net_nz/speedtest/>
Options ExecCGI
AddHandler cgi-script cgi pl
</Directory>

This worked in ZPanel, but isnm't working in Sentora

Same goes with the below, I get 403 access forbidden for this:
<location /server-status>
   SetHandler server-status
   Order Allow,Deny
   Allow from My_Home_IP
</location>

Is there an easy to get this working? I've tried adding a virtualhost to /etc/apache2/apache2.conf  (as I did with ZPanel) - but apache fails to start.  I didn't want to muck around too much, incase i broke everything

Thanks in advanced! Smile
Reply
Thanks given by:
#2
RE: Apache & Sentora
1. CGI is unsecure and disabled in sentora.

2. ubuntu 14 >> apache 2.4 some changes in vhost also before blocking all ip allow all first then try to lock down to get a clear view of the origine of the issue.

Check logs for more hints.

M B
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask
Freelance AWS Certified Architect & SysOps// DevOps

10$ free to start your VPS
Reply
Thanks given by:
#3
RE: Apache & Sentora
(05-16-2015, 09:08 PM)Me.B Wrote: 1. CGI is unsecure and disabled in sentora.

2.  ubuntu 14 >> apache 2.4 some changes in vhost also before blocking all ip allow all first then try to lock down to get a clear view of the origine of the issue.

Check logs for more hints.

M B

Thanks M B, sorted it all out apart from Alias.

logs say access denied because of server security (or similar)
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
Is Sentora dead? rajeevrrs 2 3 ,068 12-17-2022, 09:20 AM
Last Post: TGates
Sentora debug and error files johnnyp 0 1 ,187 10-27-2022, 06:16 PM
Last Post: johnnyp
Transfer Account to another Sentora BenI 1 2 ,628 07-21-2022, 07:19 PM
Last Post: Nigel

Forum Jump:


Users browsing this thread: 1 Guest(s)