[us...@httpd] Help on creating proxy/rewrite rules based on SSL authentication

2010-08-25 Thread Luis Neves
Hi, I have Apache asking for x509 Client certificates, I am trying to proxypass the original request to multiple locations based on the result of the client authentication If successfully authenticated, proxypass to authserver if not, proxypass to noauthserver Ive tryied a lot of

Re: [us...@httpd] Re: how to needed for apache

2010-08-25 Thread James Godrej
From: Rich Bowen rbo...@rcbowen.com To: James Godrej jamesgod...@yahoo.in Cc: d...@httpd.apache.org Sent: Wed, 25 August, 2010 8:07:05 PM Subject: Re: [us...@httpd] Re: how to needed for apache James, It would be very instructive if you could provide us with

Re: [us...@httpd] Re: how to needed for apache

2010-08-25 Thread Eric Covener
See when some one uses Apache for the first time they are not aware of a lot of things. The term definition of virtual host itself is quite confusing for newbies. What is a VirtualHost and why is that used. Are you trying to say the definition in the manual is confusing, or the term is

[us...@httpd] Mythweb Access Forbidden

2010-08-25 Thread Mark Adams
I really hate to bother the group with this issue because my ignorance about apache access is so profound. But here goes. I was attempting to get mythweb accessible from the Internet and just all of a sudden, it was not available (error 403). I have spent hours editing the hddpd.conf file, the

Re: [us...@httpd] Mythweb Access Forbidden

2010-08-25 Thread Frank Gingras
On 25/08/2010 12:05 PM, Mark Adams wrote: I really hate to bother the group with this issue because my ignorance about apache access is so profound. But here goes. I was attempting to get mythweb accessible from the Internet and just all of a sudden, it was not available (error 403). I have

Re: [us...@httpd] Mythweb Access Forbidden

2010-08-25 Thread Martin Hasicek
Hi Mark, first, please send us error.log where is the 403 error. mh On Wed, Aug 25, 2010 at 6:05 PM, Mark Adams mada...@gmail.com wrote: I really hate to bother the group with this issue because my ignorance about apache access is so profound. But here goes. I was attempting to get mythweb

Re: [us...@httpd] Mythweb Access Forbidden

2010-08-25 Thread Mark Adams
On Wed, Aug 25, 2010 at 10:06 AM, Frank Gingras francois.ging...@gmail.comwrote: On 25/08/2010 12:05 PM, Mark Adams wrote: I really hate to bother the group with this issue because my ignorance about apache access is so profound. But here goes. I was attempting to get mythweb accessible

Re: [us...@httpd] Mythweb Access Forbidden

2010-08-25 Thread Mark Adams
Hey Martin, See my reply to Frank. The only error showing up is this: [Wed Aug 25 10:04:06 2010] [error] [client 192.168.1.106] Directory index forbidden by Options directive: /var/www/html/mythweb/ Mark On Wed, Aug 25, 2010 at 10:08 AM, Martin Hasicek martin.hasi...@gmail.comwrote: Hi Mark,

Re: [us...@httpd] Mythweb Access Forbidden

2010-08-25 Thread Martin Hasicek
Hi Mark, by directive DirectoryIndex you are enumerate files, which will be listed in case, when client will point only to dorectory. So in case that client will call http://mythweb/ apache will check existence of files enumerated by DirectoryIndex. If it is not able to find them, apache try to

Re: [us...@httpd] Mythweb Access Forbidden

2010-08-25 Thread Mark Adams
I'm sorry Martin, that makes little sense to me. This thing is setup by defaults to point to /var/www/html/mythweb and execute mythweb.php. It isn't supposed to display a file index, so disabling Autoindex seems the way to go. I don't think I need DirectoryIndex because I dont' want a directory

Re: [us...@httpd] Mythweb Access Forbidden

2010-08-25 Thread Martin Hasicek
Hi Mark, my sorry. My english is not so good :-) Try to look here: http://httpd.apache.org/docs/current/mod/mod_dir.html#directoryindex and after that find in your configuration directive DirectoryIndex add mythweb.php there. It should look like: DirectoryIndex mythweb.php index.html index.php

Re: [us...@httpd] Mythweb Access Forbidden

2010-08-25 Thread Steven Pierce
I did not see anyone else ask, but where is your DNS coming from? On 8/25/10 9:05 AM, Mark Adams wrote: I really hate to bother the group with this issue because my ignorance about apache access is so profound. But here goes. I was attempting to get mythweb accessible from the Internet and

Re: [us...@httpd] Mythweb Access Forbidden

2010-08-25 Thread Mark Adams
Steve: These machines are all on my lan and they are on static IP's. I've ditched the access it from the internet idea. That will only work if I can get a second frontend running on my primary web server because my dls provider has all the ports locked down. Martin: I added mythweb to the

Re: [us...@httpd] Mythweb Access Forbidden

2010-08-25 Thread Eric Covener
On Wed, Aug 25, 2010 at 12:38 PM, Mark Adams mada...@gmail.com wrote: Warning at /var/www/html/mythweb/modules/_shared/tmpl/_errors/db_vars_error.php, line 23: require(modules/_shared/tmpl/tmpl/header.php) [function.require]: failed to open stream: No such file or directory The error_log

Re: [us...@httpd] Mythweb Access Forbidden

2010-08-25 Thread Mark Adams
On Wed, Aug 25, 2010 at 10:26 AM, Steven Pierce paged...@speakeasy.netwrote: I did not see anyone else ask, but where is your DNS coming from? On 8/25/10 9:05 AM, Mark Adams wrote: I really hate to bother the group with this issue because my ignorance about apache access is so profound.

Re: [us...@httpd] Mythweb Access Forbidden

2010-08-25 Thread Martin Hasicek
Hi Mark, now the apache is serving your page and this is a PHP error. So apache is working fine and we have to tune PHP now. on line 23 in file /var/www/html/mythweb/modules/_shared/tmpl/_errors/db_vars_error.php you are including some other file by function require. PHP is not able to find this

Re: [us...@httpd] Mythweb Access Forbidden

2010-08-25 Thread Mark Adams
On Wed, Aug 25, 2010 at 10:42 AM, Eric Covener cove...@gmail.com wrote: On Wed, Aug 25, 2010 at 12:38 PM, Mark Adams mada...@gmail.com wrote: Warning at /var/www/html/mythweb/modules/_shared/tmpl/_errors/db_vars_error.php, line 23: require(modules/_shared/tmpl/tmpl/header.php)

Re: [us...@httpd] Mythweb Access Forbidden

2010-08-25 Thread Mark Adams
I do have that file tree Martin, but it's slightly different: /var/www/html/mythweb/modules/_shared/tmpl/default/header.php notice the last three subdirectories tmpl/default/header.php versus tmpl/tmpl/header.php The function in question is actually looking for tmpl/'.tmpl.'/header.php. I take

Re: [us...@httpd] Mythweb Access Forbidden

2010-08-25 Thread Martin Hasicek
Hi Mark, as fare as I know, php variables have $ sign on begin. So, if tmpl is variable, row should like: require 'modules/_shared/$tmpl/'.$tmpl.'/header.php'; you can very simple test it add this few rows before this require function: echo pre; var_dum($tmpl); var_dump(tmpl); echo /pre; if

Re: [us...@httpd] Mythweb Access Forbidden

2010-08-25 Thread Mark Adams
Okay, thanks Martin. I am beat. I'm going to turn in and pick this up after work tomorrow morning. I appreciate your help, but it looks like we're at a dead end here too. I suspect php isn't working somehow, though on the same server phpmyadmin and dokuwiki work just fine. I don't know what