[EMAIL PROTECTED] OT: control panel/provisioning for mixed environments

2008-02-22 Thread Terry
Hello all, This is slightly off topic and I apologize if this is out of the scope of this list but it says "discussion" so I'll go on that. I have a medium sized mixed environment of IIS and Apache servers. I am looking for advice on how others (you) are handling the auto-provisioning of service

[EMAIL PROTECTED] Re: Yay for mod_rewrite woes.

2008-02-22 Thread Steve Finkelstein
Thanks Joshua. I figured what I was doing is inefficient and there might be a better "algorithm" to lazy trigger the Rewrite versus checking every single request. But since it's just one particular page where this will be in effect, I'm not as concerned. Cheers, /sf On 2/22/08, Steve Finkelstein

Re: [EMAIL PROTECTED] Yay for mod_rewrite woes.

2008-02-22 Thread Joshua Slive
On Fri, Feb 22, 2008 at 5:34 PM, Steve Finkelstein <[EMAIL PROTECTED]> wrote: > RewriteEngine On > RewriteRule !^/login.php$ http://%{SERVER_NAME} > > > This was working great except for one issue. It completely breaks all > images, CSS, JavaScript, and other goodies. Is there a possible way

Re: [EMAIL PROTECTED] Use a rewrite rule to direct user to different pages depending on the browser they are using?

2008-02-22 Thread Joshua Slive
On Fri, Feb 22, 2008 at 3:51 PM, Norman Khine <[EMAIL PROTECTED]> wrote: > Hello, > Is it possible to redirect users to different pages on a web site > depending on the type of browser they are using? Would you use a Rewrite > rule, if so how can this be done? http://httpd.apache.org/docs/2.2/r

[EMAIL PROTECTED] Yay for mod_rewrite woes.

2008-02-22 Thread Steve Finkelstein
This is a very rudimentary concept and is typically done in a cookie cutter fashion. However, I can't seem to recall the proper syntax/conditions to get it to function as required. Essentially I need to enable SSL in one URL and one URL only, one that ends in login.php. So I wrote a rule like this

[EMAIL PROTECTED] Use a rewrite rule to direct user to different pages depending on the browser they are using?

2008-02-22 Thread Norman Khine
Hello, Is it possible to redirect users to different pages on a web site depending on the type of browser they are using? Would you use a Rewrite rule, if so how can this be done? I have an apache 2.2.8 Thanks Norman - The

Re: [EMAIL PROTECTED] RewriteRule problem

2008-02-22 Thread Sean Allen
On Feb 20, 2008, at 3:45 PM, Ruslan Sivak wrote: Krist van Besien wrote: On Wed, Feb 20, 2008 at 6:20 PM, Ruslan Sivak <[EMAIL PROTECTED]> wrote: So basically appache is not encoding the arguments when they're proxied. When it gets to index.html it just sees user=testing. How do I make

Re: [EMAIL PROTECTED] Alias returns a "403 Forbidden" error only with PHP files

2008-02-22 Thread thomas Armstrong
I think that this has to do with these lines inserted at the top of the VirtualHost configuration: AddHandler fcgid-script .php .php5 SuexecUserGroup myuser psacln DocumentRoot "/var/www/httpdocs/web" ErrorLog /etc/httpd/logs/dev_error_log Options Ex

Re: [EMAIL PROTECTED] Alias returns a "403 Forbidden" error only with PHP files

2008-02-22 Thread Joshua Slive
On Fri, Feb 22, 2008 at 3:18 PM, Nick Kew <[EMAIL PROTECTED]> wrote: > On Fri, 22 Feb 2008 21:07:01 +0100 > > "thomas Armstrong" <[EMAIL PROTECTED]> wrote: > > > > > There's an entry for that error message on the wiki. Have you > > > read it? > > > > I was reading: > > http://wiki.apache.org/

Re: [EMAIL PROTECTED] Alias returns a "403 Forbidden" error only with PHP files

2008-02-22 Thread Joshua Slive
On Fri, Feb 22, 2008 at 3:16 PM, thomas Armstrong <[EMAIL PROTECTED]> wrote: > > This seems to be a problem with your FastCGI configuration. (FastCGI > > is also probably at fault for returning a 403 without logging > > something interesting.) > > > > You haven't said which FastCGI module y

Re: [EMAIL PROTECTED] Alias returns a "403 Forbidden" error only with PHP files

2008-02-22 Thread Nick Kew
On Fri, 22 Feb 2008 21:07:01 +0100 "thomas Armstrong" <[EMAIL PROTECTED]> wrote: > > There's an entry for that error message on the wiki. Have you > > read it? > > I was reading: > http://wiki.apache.org/httpd/CommonHTTPStatusCodes > > But no more explicit info about "403 Forbidden" messages.

Re: [EMAIL PROTECTED] Alias returns a "403 Forbidden" error only with PHP files

2008-02-22 Thread thomas Armstrong
> This seems to be a problem with your FastCGI configuration. (FastCGI > is also probably at fault for returning a 403 without logging > something interesting.) > > You haven't said which FastCGI module you are using, and I don't know > much about FastCGI in the first place, so I can't help fu

Re: [EMAIL PROTECTED] Alias returns a "403 Forbidden" error only with PHP files

2008-02-22 Thread thomas Armstrong
> There's an entry for that error message on the wiki. Have you read it? I was reading: http://wiki.apache.org/httpd/CommonHTTPStatusCodes But no more explicit info about "403 Forbidden" messages. - The official User-To-User s

Re: [EMAIL PROTECTED] Apache error log message

2008-02-22 Thread JJB
We are running php 5.2, this is occuring on php 5.1.2! - Joel William A. Rowe, Jr. wrote: JJB wrote: Has anyone seen this and do you have any idea what it means?: Parent: child process exited with status 3221225477 PHP bug, this would be the httpd forum. http://bugs.php.net/bug.php

Re: [EMAIL PROTECTED] Alias returns a "403 Forbidden" error only with PHP files

2008-02-22 Thread Nick Kew
On Fri, 22 Feb 2008 20:37:07 +0100 "thomas Armstrong" <[EMAIL PROTECTED]> wrote: > > Look again in the apache error logs. There really should be > > something there. Most likely it is this: > > http://wiki.apache.org/httpd/13PermissionDenied > > I checked error logs again and didn't found any m

Re: [EMAIL PROTECTED] Alias returns a "403 Forbidden" error only with PHP files

2008-02-22 Thread Joshua Slive
On Fri, Feb 22, 2008 at 2:37 PM, thomas Armstrong <[EMAIL PROTECTED]> wrote: > > Look again in the apache error logs. There really should be something > > there. Most likely it is this: > > http://wiki.apache.org/httpd/13PermissionDenied > > I checked error logs again and didn't found any mes

Re: [EMAIL PROTECTED] Alias returns a "403 Forbidden" error only with PHP files

2008-02-22 Thread thomas Armstrong
I also chmoded all the files to 777 and didn't work. On Fri, Feb 22, 2008 at 8:37 PM, thomas Armstrong <[EMAIL PROTECTED]> wrote: > > Look again in the apache error logs. There really should be something > > there. Most likely it is this: > > http://wiki.apache.org/httpd/13PermissionDenied >

Re: [EMAIL PROTECTED] Alias returns a "403 Forbidden" error only with PHP files

2008-02-22 Thread thomas Armstrong
> Look again in the apache error logs. There really should be something > there. Most likely it is this: > http://wiki.apache.org/httpd/13PermissionDenied I checked error logs again and didn't found any message. If I add "ExecCGI" I get a "500 Internal Error" message, with this line on the err

Re: [EMAIL PROTECTED] Alias returns a "403 Forbidden" error only with PHP files

2008-02-22 Thread Joshua Slive
On Fri, Feb 22, 2008 at 2:26 PM, thomas Armstrong <[EMAIL PROTECTED]> wrote: > Hi. > > Using Apache2 on Linux, I get a "403 Forbidden" error only when I > access PHP files: > http://www.domain.com/foo/hello.php > but it works fine with HTML files > http://www.domain.com/foo/hello.html > > In

[EMAIL PROTECTED] Alias returns a "403 Forbidden" error only with PHP files

2008-02-22 Thread thomas Armstrong
Hi. Using Apache2 on Linux, I get a "403 Forbidden" error only when I access PHP files: http://www.domain.com/foo/hello.php but it works fine with HTML files http://www.domain.com/foo/hello.html In addition, PHP scripts work fine on root directory (outside Alias directories): http://www.domain.co

Re: [EMAIL PROTECTED] "RewriteEngine on" creates a "403 Forbidden" error

2008-02-22 Thread thomas Armstrong
O_O You are right. Thank you very much, Joshua. Some lines below I inserted a "Options ExecCGI" line. Enjoy your weekend On Fri, Feb 22, 2008 at 7:23 PM, Joshua Slive <[EMAIL PROTECTED]> wrote: > > On Fri, Feb 22, 2008 at 1:11 PM, thomas Armstrong <[EMAIL PROTECTED]> wrote: > > > What doe

Re: [EMAIL PROTECTED] "RewriteEngine on" creates a "403 Forbidden" error

2008-02-22 Thread Joshua Slive
On Fri, Feb 22, 2008 at 1:11 PM, thomas Armstrong <[EMAIL PROTECTED]> wrote: > > What does the apache error log say? > > [Fri Feb 22 10:03:38 2008] [error] [client 103.160.51.28] Options > FollowSymLinks or SymLinksIfOwnerMatch is off > which implies that RewriteRule directive is forbidden: >

Re: [EMAIL PROTECTED] "RewriteEngine on" creates a "403 Forbidden" error

2008-02-22 Thread thomas Armstrong
> What does the apache error log say? [Fri Feb 22 10:03:38 2008] [error] [client 103.160.51.28] Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden: /var/www/httpdocs/phpinfo.php -

Re: [EMAIL PROTECTED] "RewriteEngine on" creates a "403 Forbidden" error

2008-02-22 Thread Joshua Slive
On Fri, Feb 22, 2008 at 12:58 PM, thomas Armstrong <[EMAIL PROTECTED]> wrote: > Hi. > > I'm experiencing one problem with Apache2 on Linux. If > I insert a "RewriteEngine On" line in ".htaccess", webpages > return a "403 Forbidden Error". What does the apache error log say? Joshua. --

[EMAIL PROTECTED] "RewriteEngine on" creates a "403 Forbidden" error

2008-02-22 Thread thomas Armstrong
Hi. I'm experiencing one problem with Apache2 on Linux. If I insert a "RewriteEngine On" line in ".htaccess", webpages return a "403 Forbidden Error". I inserted these lines in 'httpd.conf': Options Indexes FollowSymLinks AllowOverride All FCGIWrapper /var/www/httpdocs/bin/php

RE: [EMAIL PROTECTED] expat module

2008-02-22 Thread O'DELL, TODD E (ATTOPS)
Ashmin, As has been mentioned expat has been included for some time. What OS are you on? I had some issues with AIX 5.3 where it used to work to set --with-expat=`pwd`/srclib/apr-util/xml/expat However configure didn't 'see' it at all. Then I tried with-expat=builtin that would see it and compile

Re: [EMAIL PROTECTED] reverse https to http proxy not fully working

2008-02-22 Thread Udo Rader
On Thu, 2008-02-21 at 22:43 +0100, Udo Rader wrote: > Am Donnerstag, den 21.02.2008, 20:44 + schrieb Nick Kew: > > > > > > ProxyPassReverse / > > > SetOutputFilter proxy-html > > > ProxyHTMLURLMap / /someApp/ > > > ProxyHTMLURLMap /someApp /someApp > >

Re: [EMAIL PROTECTED] reverse https to http proxy not fully working

2008-02-22 Thread Udo Rader
On Fri, 2008-02-22 at 15:03 +, Nick Kew wrote: > On Fri, 22 Feb 2008 15:56:53 +0100 > Udo Rader <[EMAIL PROTECTED]> wrote: > > > However, this looks like a mod_proxy_html <=> mod_deflate interaction > > problem. > > Sounds like more than one SetOutputFilter overriding each other. > See http:

Re: [EMAIL PROTECTED] expat module

2008-02-22 Thread Joshua Slive
On Fri, Feb 22, 2008 at 3:39 AM, Ashwin Basagouda Patil <[EMAIL PROTECTED]> wrote: > Dear All, > > How I can configure the apache 2.8 with the expat module ? There is no apache 2.8. Expat is included with all apache versions since 2.0. What exactly do you want to do with it? Joshua. -

Re: [EMAIL PROTECTED] reverse https to http proxy not fully working

2008-02-22 Thread Nick Kew
On Fri, 22 Feb 2008 15:56:53 +0100 Udo Rader <[EMAIL PROTECTED]> wrote: > However, this looks like a mod_proxy_html <=> mod_deflate interaction > problem. Sounds like more than one SetOutputFilter overriding each other. See http://httpd.apache.org/docs/2.2/sections.html#mergin -- Nick Kew App

Re: [EMAIL PROTECTED] reverse https to http proxy not fully working

2008-02-22 Thread Udo Rader
On Thu, 2008-02-21 at 21:30 +0100, Udo Rader wrote: > Hi, > > I have the following setup: > > an externally reachable https server with mod_proxy enabled that should > reverse proxy requests to other servers within the DMZ: > > inet ---> https reverse proxy ---> http hosts > > Now everything "

[EMAIL PROTECTED] Re: [EMAIL PROTECTED] writeRule, [P] and space on URL

2008-02-22 Thread davidf
I discovered this thread while googling for the same issue, here is a solution in case it hasn't been pointed out: > I have googled and found that others have same problem. However I have > not found just right solution - only workarounds like "use underscore > and not space" etc. In httpd.conf:

[EMAIL PROTECTED] expat module

2008-02-22 Thread Ashwin Basagouda Patil
Dear All, How I can configure the apache 2.8 with the expat module ? Thanks Ashwin Patil --- Robosoft Technologies - Come home to Technology Disclaimer: This email may contain confidential material. If you were not an intended recipient, please noti