Re: [us...@httpd] How to configure a username with colon?

2009-08-12 Thread matt farey
Hi Wong, You can have : in the password but not in the userID, see RFC2617: userid = * password= *TEXT So by using an encoding hack, you are of course no longer including a : in the userID Hope that makes sense. Matt Sent from my BlackBerry® wireless device -Original Message

Re: [us...@httpd] Using Rewrite

2009-08-12 Thread Krist van Besien
On Thu, Aug 13, 2009 at 12:30 AM, Ya Netu wrote: > i have some waht similar questiin for debuging my rewrite policy: > How can I tell if my rewrite is being executed if I get 404 error. Any way > to trce if rules is executed and that it was trying to do redirect? tnx Yes. Set a Rewrite Log. Krist

Re: [us...@httpd] How to configure a username with colon?

2009-08-12 Thread Evan Platt
At 10:59 PM 8/12/2009, you wrote: I am using Apache 2.0 webserver that comes with Fedora. I enabled HTTP digest authentication on my webserver by following the steps in http://httpd.apache.org/docs/2.0/mod/mod_auth.html. It works well with username without colon. If I have a colon in the username

[us...@httpd] How to configure a username with colon?

2009-08-12 Thread Wong Kok Meng-a17866
Hi, I am using Apache 2.0 webserver that comes with Fedora. I enabled HTTP digest authentication on my webserver by following the steps in http://httpd.apache.org/docs/2.0/mod/mod_auth.html. It works well with username without colon. If I have a colon in the username, it doesn't work. I think the

Re: [us...@httpd] Tomcat not starting - No error messages seen

2009-08-12 Thread Josh Gooding
Anisha, please post me your server.xml file here so I can take a look. I'm on all the tomcat boards and the user listing for httpd as well. I may be able to help you out. Warmest regards, Josh On Wed, Aug 12, 2009 at 2:20 AM, Anisha Parveen -X (anparvee - Infosys at Cisco) wrote: > Hi all,

[us...@httpd] httpd 2.2: Conditional varying of expires time by file age

2009-08-12 Thread Belov, Charles
I would like to vary a time sent by mod-expires based on the age of a static file. The idea is that files in a particular directory are at high risk for updating during their early existence but are unlikely to be updated after that. Pseudocode for the .htaccess file in that directory might be as

Re: [us...@httpd] Requiring authentication for the whole server

2009-08-12 Thread Igor Cicimov
Good work Nico. Just out of curiosity, why did you use Location statement instead Directory in your configuration? As far as I know the Location is used for file system that doesn't reside on the local server (e.g. proxy server) and Directory in case you want to protect file system that is local to

RE: [us...@httpd] Using Rewrite

2009-08-12 Thread Ya Netu
i have some waht similar questiin for debuging my rewrite policy: How can I tell if my rewrite is being executed if I get 404 error. Any way to trce if rules is executed and that it was trying to do redirect? tnx > From: bobsie...@googlemail.com > Date: Wed, 12 Aug 2009 21:20:24 +0200 > To: us

Re: [us...@httpd] Using Rewrite

2009-08-12 Thread Bob Ionescu
2009/8/12 Alexis : > ok, then the code would be > RewriteCond %{HTTP_HOST} ^files\.example\.com$ [NC] RewriteRule ^(.*)$ > /files/public$1 [L] > or am i wrong? Unless you put RewriteEngine off in a .htaccess file located in your files/public/ folder, that would result in an infinite loop. But only

Re: [us...@httpd] Using Rewrite

2009-08-12 Thread Alexis
ok, then the code would be RewriteCond %{HTTP_HOST} ^files\.example\.com$ [NC] RewriteRule ^(.*)$ /files/public$1 [L] or am i wrong? 2009/8/12 Eric Covener > On Wed, Aug 12, 2009 at 8:12 AM, Alexis wrote: > > Hello Friend of the list, > > RewriteBase /files/public > > RewriteRule ^(.*)$ $1 [L]

[us...@httpd] Re: A single IP address and Domain name serving many servers

2009-08-12 Thread Jorge Schrauwen
You can do this with mod proxy. # Proxy Forwarding LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_http_module modules/mod_proxy_http.so ProxyRequests Off Order allow,deny Allow from all #forward /siteX to backend server ProxyPass /site1/ http://

[us...@httpd] Re: New user/syntax error message

2009-08-12 Thread Nicholas Sherlock
John Jensen wrote: Using Window Vista 64 bit I've been struggling to install apache properly so that I can begin to learn php. On installation of version 2.2 ..13-win32-x86-no-ssl.msi I've gotten a message that installation was successful but cannot stop until syntax error on line 483 is c

Re: [us...@httpd] Requiring authentication for the whole server

2009-08-12 Thread Nico De Ranter
Found it. I was mixing Location and Directory directives. The following does exactly what I want: Allow from all AuthzLDAPAuthoritative on AuthBasicProvider ldap AuthName "xxx" AuthType Basic AuthLDAPBindDN AuthLDAPBin

Re: [us...@httpd] Requiring authentication for the whole server

2009-08-12 Thread Nico De Ranter
To answer my own questions partially: - yes it's possible to turn on authentication for the whole server by creating a section and putting the Auth... statements in there. Unfortunately I'm unable to require different types of authentication in different parts of the site. If I put 'require vali

[us...@httpd] Apache graceful-stop

2009-08-12 Thread Mohit Anchlia
I installed Apache 2.2.11 and tested graceful-stop. When I run graceful-stop I still see all the httpd processes even though there is nothing listening on port 80. Those httpd processes stay there even though there are no incoming or existing sessions. Is there a bug someone knows about or am I doi

[us...@httpd] New user/syntax error message

2009-08-12 Thread John Jensen
Using Window Vista 64 bit I've been struggling to install apache properly so that I can begin to learn php. On installation of version 2.2 .13-win32-x86-no-ssl.msi I've gotten a message that installation was successful but cannot stop until syntax error on line 483 is corrected. Line 483 is :

Re: [us...@httpd] Using Rewrite

2009-08-12 Thread Eric Covener
On Wed, Aug 12, 2009 at 8:12 AM, Alexis wrote: > Hello Friend of the list, > RewriteBase /files/public > RewriteRule ^(.*)$ $1 [L] > > When treated with the url http://files.example.com/archivo.txt The RewriteBase isn't a base of what you want to rewrite to, it needs to reflect the base of where t

[us...@httpd] Using Rewrite

2009-08-12 Thread Alexis
Hello Friend of the list, I am here with little problem that I could not settle after a while. The situation is this: I have a directory with some content and save time to write the full address of each of them occurred to me to take a direction, but when I test the url of the files sends me to r

[us...@httpd] Requiring authentication for the whole server

2009-08-12 Thread Nico De Ranter
Hi, I have an internal apache 2.2 server that serves a number of applications (trac, subversion, twiki, ...). Every application on the webserver requires LDAP authentication. To do this I added a 'AuthLDAP...' sections to each '' section in the apache config files. Unfortunately this means:

Re: [us...@httpd] Re: guidance on how to track down crazy apache processes

2009-08-12 Thread Arnab Ganguly
Try using the worker model. You can limit the process with multiple threads. Thanks Arnab On Wed, Aug 12, 2009 at 2:10 PM, Nicholas Sherlock wrote: > Timothy Martin wrote: > >> Anyway, despite having the prefork mpm set with a limit of 6, my watchdog >> process (monit) will report process count s

[us...@httpd] Tomcat not starting - No error messages seen

2009-08-12 Thread Anisha Parveen -X (anparvee - Infosys at Cisco)
Hi all, I am trying to start tomcat 4.1.3 on Solaris. ps -ef | grep tomcat returns nothing. Tomcat is not started. And I don't see any error messages also. >From the log messages it seems Tomcat is not loading the contexts provided in server.xml. Out of the contexts provided in server.xml , onl

[us...@httpd] Re: guidance on how to track down crazy apache processes

2009-08-12 Thread Nicholas Sherlock
Timothy Martin wrote: Anyway, despite having the prefork mpm set with a limit of 6, my watchdog process (monit) will report process count shooting up over 50. I can't figure out how apache is letting itself get so many processes spinning out of control. Monit then restarts the server and every

RE: [us...@httpd] Tomcat not starting - No error messages seen

2009-08-12 Thread Anisha Parveen -X (anparvee - Infosys at Cisco)
Hi Mick, Thanks for that info. Tomcat gets installed with my application and normally that's the way I check if Tomcat is up. In case tomcat was up and running that yields the result in my case. I have psoted the same in Tomcat mailing list,. Regards, Anisha -Original Message- From: M

RE: [us...@httpd] Tomcat not starting - No error messages seen

2009-08-12 Thread Mick Sheppard
Anisha, I doubt that you will find an answer to your problem on this mailing list. This list is for Apache HTTPD rather than Apache Tomcat. You are more likely to find an answer on the Apache Tomcat mailing list, see http://tomcat.apache.org/lists.html for information on that. That said 'ps -ef |