Topic: Apache Config for Centos/Redhat
I have followed this tutorial and successfully got chillispot working in Ubuntu https://help.ubuntu.com/community/WifiDocs/ChillispotHotspot/7.10
However I would like to run chillispot in production on Centos but I am having real difficulty in porting the ssl cert generation & apache config section. There appears to be a big difference in the vanilla installs of apache on ubuntu and centos.
Currently on Centos, I have freeradius & mysql working together & Chilli is distributing ip to my clients. Chilli is preventing acces to the internet but correctly allowing the $uamallowed sites. When trying to access an unallowed site, I do not get re-directed as I did on Ubuntu, instead I get page cannot be displayed. I cannot reach http://192.168.10.1:3990, I can reach https://192.168.10.1/cgi-bin/hotspotlogin.cgi but it tells me that "Login Failed" and does not give me the opportunity to log in.
In Centos, there only appears to be one apache config file httpd.conf. There is no sites-available folder nor ports.conf as discussed in the tutorial. Does anybody have an example working httpd.conf? or any idea how to get this working.
Also the section "make-ssl-cert /usr/share/ssl-cert/ssleay.cnf /etc/apache2/ssl/apache.pem" I have no idea.
Any help would be much appreciated.