Re: [EMAIL PROTECTED] Invoking single app for everything in a hierarchy

2008-10-22 Thread André Warnier
Erik, I think you are mistaken. I'm not the expert on mod_rewrite, but I believe it will not change anything *except* for the URL being addressed. The "parameters" are not part of the URL in that sense, and should not be affected (by parameters I mean the "query string", which is everything

[EMAIL PROTECTED] apache very high cpu and load, how to debug and finetune

2008-10-22 Thread Rudy Gevaert
Dear list, I am having trouble pinpointing why our web servers are under load. This is an in house built PHP application. (mod_php5) Current apache configuration: MaxKeepAliveRequests 1000 KeepAliveTimeout 5 StartServers 5 MinSpareServers 5 MaxSpareServers 10

Re: [EMAIL PROTECTED] Serving content for hand held devices and phones?

2008-10-22 Thread Jacqui Caren
Peter Horn wrote: Hi, My first post here, so be gentle :) I have seen this done where content is XML/XHTML and XSLT is used upon browsermatch to redner content to a defined presentation. One added advantage is that the same content can be rendered as XHTML, WML, PDF etc. Overkill for most app

Re: [EMAIL PROTECTED] mod_authnz_ldap module and Microsoft AD LDAP Server

2008-10-22 Thread Rodney Ramos
Great! That´s it! I´ve tried to use a user called "admin" that exists in the LDAP server. So, to make the test, I´ve created a crazy username and put it into the flat file, and it works! The Apache tries to consult the flat file only if it doesn´t find the user in the LDAP server. Now, another

Re: [EMAIL PROTECTED] mod_authnz_ldap module and Microsoft AD LDAP Server

2008-10-22 Thread André Warnier
Rodney Ramos wrote: Great! That´s it! I´ve tried to use a user called "admin" that exists in the LDAP server. So, to make the test, I´ve created a crazy username and put it into the flat file, and it works! The Apache tries to consult the flat file only if it doesn´t find the user in the LDAP

[EMAIL PROTECTED] Protecting directory :: The most strangest thing

2008-10-22 Thread Mário Gamito
Hi, I'm trying to protect a directory, something I've done countless times before. Now, instead of appearing the dialog with the login and password boxes, I get a 404 !!! Here's my files: .htaccess: AuthType Basic AuthName imgs AuthUserFile /home/absinto/public_html/imgs/.htpasswd require val

Re: [EMAIL PROTECTED] Protecting directory :: The most strangest thing

2008-10-22 Thread Frank Gingras
Mario, What does the error log say, exactly? Mário Gamito wrote: Hi, I'm trying to protect a directory, something I've done countless times before. Now, instead of appearing the dialog with the login and password boxes, I get a 404 !!! Here's my files: .htaccess: AuthType Basic AuthName i

Re: [EMAIL PROTECTED] Protecting directory :: The most strangest thing

2008-10-22 Thread Mário Gamito
Hi, I get a pure and simple 404, nothing else !!! Warm Regards, Mário Gamito On Wed, Oct 22, 2008 at 3:18 PM, Frank Gingras <[EMAIL PROTECTED]> wrote: > Mario, > > What does the error log say, exactly? > > Mário Gamito wrote: >> >> Hi, >> >> I'm trying to protect a directory, something I've done

Re: [EMAIL PROTECTED] Protecting directory :: The most strangest thing

2008-10-22 Thread Frank Gingras
Mario, We need the exact error from the error log. Otherwise, it makes it very hard for us to help you. Mário Gamito wrote: Hi, I get a pure and simple 404, nothing else !!! Warm Regards, Mário Gamito On Wed, Oct 22, 2008 at 3:18 PM, Frank Gingras <[EMAIL PROTECTED]> wrote: Mario, Wha

Re: [EMAIL PROTECTED] Protecting directory :: The most strangest thing

2008-10-22 Thread Mário Gamito
92.250.120.1 - - [18/Oct/2008:01:10:32 +0100] "GET /imgs/firefox.png HTTP/1.1" 404 14204 "http://www.absinto.org/"; "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3 (.NET CLR 3.5.30729) Creative ZENcast v2.01.01" On Wed, Oct 22, 2008 at 3:46 PM, Frank G

Re: [EMAIL PROTECTED] Protecting directory :: The most strangest thing

2008-10-22 Thread Frank Gingras
That is from your access log. We need the entry from your error log. Also, you may pastebin your apache configuration files. Mário Gamito wrote: 92.250.120.1 - - [18/Oct/2008:01:10:32 +0100] "GET /imgs/firefox.png HTTP/1.1" 404 14204 "http://www.absinto.org/"; "Mozilla/5.0 (Windows; U; Windows

Re: [EMAIL PROTECTED] Protecting directory :: The most strangest thing

2008-10-22 Thread Justin Pasher
Mário Gamito wrote: Hi, I'm trying to protect a directory, something I've done countless times before. Now, instead of appearing the dialog with the login and password boxes, I get a 404 !!! Here's my files: .htaccess: AuthType Basic AuthName imgs AuthUserFile /home/absinto/public_html/imgs

Re: [EMAIL PROTECTED] mod_authnz_ldap module and Microsoft AD LDAP Server

2008-10-22 Thread Rodney Ramos
Thank you, André. That´s because I´m migrating an application from Apache 1.3 to Apache 2. On Apache 1.3 I was used to Apache::DBI, Apache::AuthDBI, mod_perl, mod_auth_ldap etc. Everything worked fine, but Thank you again. Rodney. On Wed, Oct 22, 2008 at 11:52 AM, André Warnier <[EMAIL

[EMAIL PROTECTED] Subdomain to other domain sub

2008-10-22 Thread Thierry Lavallée
I need to set up so that a subdomain looks in a sub folder of ANOTHER DOMAIN on the same machine. I would need: https://media.domain1.com/image.jpg to load https://www.domain2.com/media/image.jpg Please note the HTTPS How can I achieve this? thanks!

[EMAIL PROTECTED] Rewrite rule preventing directory authentication

2008-10-22 Thread Mário Gamito
Hi, I have this site that has in its root directory a .htaccess file with the following rewritings: RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] SecFilterEngine off Now, I want to password protect a sudirect

Re: [EMAIL PROTECTED] Invoking single app for everything in a hierarchy

2008-10-22 Thread Justin Pasher
Erik Westland wrote: Justin et al, That is promising, but I can't alter any of the request parameters before the filter has a chance to record them. I haven't tried this solution yet, but I believe URL rewriting will change the request params to reflect the new target. This could work if my

Re: [EMAIL PROTECTED] Subdomain to other domain sub

2008-10-22 Thread Justin Pasher
Thierry Lavallée wrote: I need to set up so that a subdomain looks in a sub folder of ANOTHER DOMAIN on the same machine. I would need: https://media.domain1.com/image.jpg to load https://www.domain2.com/media/image.jpg Please note the HTTPS How can I achieve this? thanks! I would normally

Re: [EMAIL PROTECTED] Subdomain to other domain sub

2008-10-22 Thread Thierry Lavallée
Gulp, I really thought this would have been an easy shot being on the same machine. touching proxy is not my game... I don't feel so safe. right?! :/ thanks again Justin! -- Thierry

Re: [EMAIL PROTECTED] Rewrite rule preventing directory authentication

2008-10-22 Thread Eric Covener
On Wed, Oct 22, 2008 at 12:57 PM, Mário Gamito <[EMAIL PROTECTED]> wrote: > Hi, > > I have this site that has in its root directory a .htaccess file with > the following rewritings: > > > RewriteEngine On > RewriteBase / > RewriteCond %{REQUEST_FILENAME} !-f > RewriteCond %{REQUEST_FILENAME} !-d >

Re: [EMAIL PROTECTED] Rewrite rule preventing directory authentication

2008-10-22 Thread Mário Gamito
That would break the software :( On Wed, Oct 22, 2008 at 8:27 PM, Eric Covener <[EMAIL PROTECTED]> wrote: > On Wed, Oct 22, 2008 at 12:57 PM, Mário Gamito <[EMAIL PROTECTED]> wrote: >> Hi, >> >> I have this site that has in its root directory a .htaccess file with >> the following rewritings: >> >

Re: [EMAIL PROTECTED] Rewrite rule preventing directory authentication

2008-10-22 Thread Eric Covener
On Wed, Oct 22, 2008 at 3:31 PM, Mário Gamito <[EMAIL PROTECTED]> wrote: > That would break the software :( > How about a RewriteCond looking at %{REQUEST_URI} in the docroot that protects the rule from running on whatever in that subdir you don't want touched? I can't say I fully understand what

Re: [EMAIL PROTECTED] Subdomain to other domain sub

2008-10-22 Thread Nick Kew
Thierry Lavallée wrote: I need to set up so that a subdomain looks in a sub folder of ANOTHER DOMAIN on the same machine. If they're on the same machine, forget about domains and just use an alias. Or even a link in the filesystem. -- Nick Kew

[EMAIL PROTECTED] How to redirect by device

2008-10-22 Thread Charles Payne (Travel Channel)
Guys, I have been doing a search on googlemess, for how to redirect by browser type. Does anyone know a good site to show how to do this? We are needing if it comes off of a blackberry or iphone it goes to a different link. Is this going to be rewrite or something else. If you need an example, p

[EMAIL PROTECTED] Apache 2.2 mod_include mis-interpreting back-references

2008-10-22 Thread hugh williams
Hi; I have a collection of web pages that use SSI to parse pieces of $DOCUMENT_NAME and present those bits in the HTML output. Here's the code: This takes a file name like "z1234_aba_abt.html" and spits back "Z1234 Option ABA Hyperlinks". This works fine in both Apache 1.3.33 and 2.2.3;

Re: [EMAIL PROTECTED] How to redirect by device

2008-10-22 Thread Nick Kew
Charles Payne (Travel Channel) wrote: Guys, I have been doing a search on googlemess, for how to redirect by browser type. Does anyone know a good site to show how to do this? We are needing if it comes off of a blackberry or iphone it goes to a different link. Is this going to be rewrite or

[EMAIL PROTECTED] how to uninstall httpd-2.2.10

2008-10-22 Thread [EMAIL PROTECTED]
Hello All, I've compile and installed apache-2.2.10 from source and would like to remove it from my system. I notice that I cannot use 'make uninstall' anymore. Could someone tell me how to go about uninstalling it? Thanks in advance.

Re: [EMAIL PROTECTED] how to uninstall httpd-2.2.10

2008-10-22 Thread [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote: > Hello All, > > I've compile and installed apache-2.2.10 from source and would like to > remove it from my system. I notice that I cannot use 'make uninstall' > anymore. > Could someone tell me how to go about uninstalling it? > > Thanks in advance. > > --