Re: [users@httpd] Trying to run expect from web page

2013-10-09 Thread Colin 't Hart
This all sounds very insecure to me, especially if you're going to share details on its implementation online. I'd use VPN, failing that SSH. Cheers, Colin On Thursday, 10 October 2013, Yehuda Katz wrote: > You might have better luck with this on a PHP forum/list. > > You would also need to pr

RE: [users@httpd] Apache Virtual Host Config issue

2013-10-09 Thread Ammar Hassan
Yehuda, Actually there were two entries as you rightly pointed out. TCP    0.0.0.0:8080   0.0.0.0:0  LISTENING TCP    [::]:8080  [::]:0 LISTENING The one other Listen directive I have in my httpd.conf is Listen 8080 Then in vhosts I have Listen

Re: [users@httpd] Apache Virtual Host Config issue

2013-10-09 Thread Yehuda Katz
On Wed, Oct 9, 2013 at 11:03 PM, Ammar Hassan wrote: > Thank you for a detailed reply. I have gone through the things you asked > me to check. There was an entry in netstat -an like this: > > TCP[::]:8080 [::]:0 LISTENING > > Which suggests that Apache is running.

RE: [users@httpd] Apache Virtual Host Config issue

2013-10-09 Thread Ammar Hassan
Hi Yehuda, Thank you for a detailed reply. I have gone through the things you asked me to check. There was an entry in netstat -an like this: TCP    [::]:8080  [::]:0 LISTENING Which suggests that Apache is running. So now what I did was, I tried to add a Listen

Re: [users@httpd] Trying to run expect from web page

2013-10-09 Thread Yehuda Katz
You might have better luck with this on a PHP forum/list. You would also need to provide more information. For example: where are you running the knock-3-times vs. the "expect" script; can you share more of the source (not here, since this is not a PHP list); what works or does not work - not coun

[users@httpd] Trying to run expect from web page

2013-10-09 Thread Chuck Lidderdale
I'm going on vacation and want to check in to my server. I've written a knock-3-times.php webpage with the idea of then running an expect script to: telnet modem, echo iptables nat -s $IP etc. which would allow me get in to my server. The expect script runs just fine but in the page: exec

Re: [users@httpd] Apache Virtual Host Config issue

2013-10-09 Thread Yehuda Katz
Hi Ammar, If your vhost is only bound to port 8080, then going to http://subdomain.example.com/ will not load the site from the apache server. You need to explicitly us http://subdomain.example.com:8080/ Since it is working from localhost, that implies that apache is only listening on localhost an

[users@httpd] Apache Virtual Host Config issue

2013-10-09 Thread Ammar Hassan
I have IIS and Apache both running on my server. Apache is on 8080. I am having some DNS mapping issues.   I have a virtual host entry as follows:     ServerName something.domain.com   DocumentRoot "D:/www/public_html"       Options Indexes FollowSymLinks     AllowOverride All       Order a

Re: [users@httpd] Permission Still Denied with Moodle

2013-10-09 Thread Yehuda Katz
1. For the "http://*my ip*/moodle" problem: It appears that there are no vhosts at all, so that should not get in the way. I should have listed this before too: Can you check if apache is listening on all ips? netstat -ln | grep 80 2. For the localhost problem: I can't shake the feeling that this

RE: [users@httpd] Permission Still Denied with Moodle

2013-10-09 Thread Timothy Curchod
Thanks for the reply Yehuda. Here is the info you asked about. ls -llrwxrwxrwx. 1 root root 7 Oct 8 17:13 bin -> usr/bindr-xr-xr-x. 5 root root 1024 Oct 8 17:31 bootdrwxr-xr-x 19 root root 3440 Oct 10 07:02 devdrwxr-xr-x. 144 root root 12288 Oct 10 07:02 etcdrwxr-xr-x. 4 root roo

[users@httpd] Apache fails to start if SSLProxyMachineCertificateFile does not contain RSA

2013-10-09 Thread fredk2
Hi, Does anyone know why Apache httpd (2.4.4) fails to start if the pem file set in SSLProxyMachineCertificateFile is formatted: -BEGIN PRIVATE KEY- MIIEvgIB ... -END PRIVATE KEY- the error is "incomplete client cert configured for SSL proxy (missing or encrypted private key?) "

Re: [users@httpd] Permission Still Denied with Moodle

2013-10-09 Thread Yehuda Katz
> > "AH00035: access to /moodle/ denied (filesystem path > '/var/www/html/moodle') because search permissions are missing on a > component of the path" This implies that the x permission is missing. You posted for every directory except /var . What are its permissions? I have no idea if selinux co

[users@httpd]

2013-10-09 Thread chethantm
- To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] ProxyPass without slash not working

2013-10-09 Thread Tiago Braga
Jim, Do you know what version that fixed? And what the bug? Thanks! On Wed, Oct 9, 2013 at 10:47 AM, Jim Jagielski wrote: > iirc, this is fixed/addressed in later versions... > > > On Oct 9, 2013, at 8:28 AM, Tiago Braga wrote: > > > Hello! > > > > I'm using the httpd Apache/2.2.15 in Linux

[users@httpd] ProxyHTMLURLMap

2013-10-09 Thread Pol Hallen
Hi all :-) I lost myself with this problem... and I don't know what is useful to resolve it :-/ apache2.2 and virtual host the name of this webserver is: domain.org, I've phpmyadmin as alias: http://domain.org/phpmyadmin A virtual host: newdomain.org I need connect to phpmyadmin using http://n

Re: [users@httpd] ProxyPass without slash not working

2013-10-09 Thread Jim Jagielski
iirc, this is fixed/addressed in later versions... On Oct 9, 2013, at 8:28 AM, Tiago Braga wrote: > Hello! > > I'm using the httpd Apache/2.2.15 in Linux RedHat with mod_proxy. > > I have the below configuration: > > > ServerName www.host.com.br > ProxyPass / http://static.host.com.

Re: [users@httpd] ProxyPass without slash not working

2013-10-09 Thread Tiago Braga
Vivek, Yes, the setting was in conf/httpd.conf, but i put in my vhost e not working too. ProxyRequests off ProxyPass / http://static.host.com.br/html/directory/ ProxyPassReverse / http://static.host.com.br/html/directory/ On Wed, Oct 9, 2013 at 10:27 AM, Vivek Nambiar wrote: > Tiago, > > Did yo

Re: [users@httpd] ProxyPass without slash not working

2013-10-09 Thread Vivek Nambiar
Tiago, Did you try by setting ProxyRequest to off?.As per Apache doc,The ProxyRequests directive should usually be set *off* when using ProxyPass. Thx On Wed, Oct 9, 2013 at 6:08 PM, Tiago Braga wrote: > Hello Eric, > > It not

Re: AW: [users@httpd] ssl setup checking

2013-10-09 Thread Robin Becker
So I have my cert the GS root cert and the intermediate cert pointed at by the apache conf like this SSLCertificateFile //etc/certs/myhost.com.crt SSLCertificateKeyFile //etc/certs/myhost.key SSLCACertificateFile //etc/certs/globalsign-root-ca-rc2.crt SSLCertificateCha

Re: [users@httpd] ProxyPass without slash not working

2013-10-09 Thread Tiago Braga
Hello Eric, It not works too. ProxyPass / http://static.host.com.br/html/directory/ ProxyPassReverse / http://static.host.com.br/html/directory/ Thanks! On Wed, Oct 9, 2013 at 9:34 AM, Eric Covener wrote: > Missing ProxyPassReverse. > > On Wed, Oct 9, 2013 at 8:28 AM, Tiago Braga > wrote: >

Re: [users@httpd] ProxyPass without slash not working

2013-10-09 Thread Eric Covener
Missing ProxyPassReverse. On Wed, Oct 9, 2013 at 8:28 AM, Tiago Braga wrote: > Hello! > > I'm using the httpd Apache/2.2.15 in Linux RedHat with mod_proxy. > > I have the below configuration: > > > ServerName www.host.com.br > ProxyPass / http://static.host.com.br/html/directory/ > > >

AW: AW: [users@httpd] ssl setup checking

2013-10-09 Thread Fiedler Roman
> Von: Robin Becker [mailto:ro...@reportlab.com] > > On 09/10/2013 13:15, Fiedler Roman wrote: > .. > > > > Unless you want to use client certificates from globalsign, > "SSLCACertificateFile" will not make sense. See [1] > > > > Roman > > > > [1] > http://httpd.apache.org/docs/2.2/mod/mod

[users@httpd] ProxyPass without slash not working

2013-10-09 Thread Tiago Braga
Hello! I'm using the httpd Apache/2.2.15 in Linux RedHat with mod_proxy. I have the below configuration: ServerName www.host.com.br ProxyPass / http://static.host.com.br/html/directory/ When the url is: www.host.com.br/test/ It's works. When the url is: www.host.com.br/test It's not

Re: AW: [users@httpd] ssl setup checking

2013-10-09 Thread Robin Becker
On 09/10/2013 13:15, Fiedler Roman wrote: .. Unless you want to use client certificates from globalsign, "SSLCACertificateFile" will not make sense. See [1] Roman [1] http://httpd.apache.org/docs/2.2/mod/mod_ssl.html#sslcacertificatefile .. This page https://support.globalsi

AW: [users@httpd] ssl setup checking

2013-10-09 Thread Fiedler Roman
> Von: Robin Becker [mailto:ro...@reportlab.com] > > On 07/10/2013 20:26, Yehuda Katz wrote: > > OpenSSL supports each of the options you need (one at a time). > > http://www.cyberciti.biz/faq/test-ssl-certificates-diagnosis-ssl-certificate/ > > Just add the server to the hosts file. > > > > - Y >

[users@httpd] Unexpected request for client certificate on whole site with location/directory-based SSLVerifyClient

2013-10-09 Thread Fiedler Roman
Dear List, I'm trying to implement SSL-client certificate check for only some selected URLs, but some things do not work as expected: * Although "SSLVerifyClient none" for whole vhost and only " SSLVerifyClient require" for location "/test", Firefox on Linux will ask for the certificate on all

Re: [users@httpd] ssl setup checking

2013-10-09 Thread Robin Becker
On 07/10/2013 20:26, Yehuda Katz wrote: OpenSSL supports each of the options you need (one at a time). http://www.cyberciti.biz/faq/test-ssl-certificates-diagnosis-ssl-certificate/ Just add the server to the hosts file. - Y .. thanks for the above, certainly bits of my setup are OK, but now

[users@httpd] Permission Still Denied with Moodle

2013-10-09 Thread Timothy Curchod
Hi, I've tried a few times to setup moodle on LAMP but failed each time with the following errors: If I use localhost/moodle, I get this error: Incorrect access detected, this server may be accessed only through "http://*my ip*/moodle" address, sorry. Please notify server administrator. If I us