Re: [EMAIL PROTECTED] any reasons not to compile with -enable-exception-hook?

2008-09-18 Thread William A. Rowe, Jr.
fredk2 wrote: Hi, is there any reasons why you would not want in production (or hardened server) an apache compiled with -enable-exception-hook? Yes. You can and should expect that once the server is compromised, it's possible although highly unlikely that the actual target of that hook is al

[EMAIL PROTECTED] any reasons not to compile with -enable-exception-hook?

2008-09-18 Thread fredk2
Hi, is there any reasons why you would not want in production (or hardened server) an apache compiled with -enable-exception-hook? The manual says: "For safety reasons this directive is only available if the server was configured with the --enable-exception-hook option. It enables a hook that al

Re: [EMAIL PROTECTED] Apache Control : Starting and Stopping Apache from foreign application

2008-09-18 Thread Eric Covener
On Thu, Sep 18, 2008 at 7:57 PM, Asif M <[EMAIL PROTECTED]> wrote: > When I run Apache from the command line, a ctrl+c stops both the running > httpd process. However programmatically #1 does not have any effect. It > feels that Apache has not received the Ctrl+C I send. This thread might give yo

[EMAIL PROTECTED] Apache Control : Starting and Stopping Apache from foreign application

2008-09-18 Thread Asif M
Hi all, I have the following problem :- I wrote a Apache Control Program in Visual Studio 2003, which does the following 1>. Starts Apache with CreateProcess Call. I run Apache on the command interpreter but not as a service. 2>. Redirects all standard input / output of Apache to the Apache Contr

Re: [EMAIL PROTECTED] java app URL rewrite

2008-09-18 Thread Eric Covener
On Thu, Sep 18, 2008 at 6:26 PM, Eric Covener <[EMAIL PROTECTED]> wrote: > Subsequent rules don't run after the L or PT flags, when your rules > are in httpd.conf outside of directory/location. Whoops, credited Andre's observation here in the first draft and lost it. -- Eric Covener [EMAIL PROTE

Re: [EMAIL PROTECTED] java app URL rewrite

2008-09-18 Thread Eric Covener
On Thu, Sep 18, 2008 at 3:22 PM, Stauffer, Robert G <[EMAIL PROTECTED]> wrote: > OK, that makes sense that PT wouldn't apply and that the rewrite engine > won't reprocess the URL. > > Hmmm. I did a poor job of explaining what I'm trying to do. > Basically I'm trying to hide the "jahia/Jahia" p

Re: [EMAIL PROTECTED] java app URL rewrite

2008-09-18 Thread André Warnier
Stauffer, Robert G wrote: [...] RewriteEngine On RewriteLogLevel 3 RewriteLog logs/rewrite_port81.log RewriteRule ^/$ /jahia/Jahia/site/jazzd/pid/9 [C,PT](This redirects properly, but the next line is ignored.) I'm not (yet) an expert, but isn't your problem the [,PT] flag above

Re: [EMAIL PROTECTED] java app URL rewrite

2008-09-18 Thread solprovider
On 9/18/08, Stauffer, Robert G <[EMAIL PROTECTED]> wrote: > Same thing happened: It serves up the correct page, but the browser URL > is http://example.com/ instead of > http://example.com/site/jazzd/pid/9. And the second RewriteRule is > ignored: > Bob Stauffer You may be confusing several dif

Re: [EMAIL PROTECTED] java app URL rewrite

2008-09-18 Thread Justin Pasher
Stauffer, Robert G wrote: OK, that makes sense that PT wouldn't apply and that the rewrite engine won't reprocess the URL. Hmmm. I did a poor job of explaining what I'm trying to do. Basically I'm trying to hide the "jahia/Jahia" portion of the URL. That means there are three cases that ne

RE: [EMAIL PROTECTED] java app URL rewrite

2008-09-18 Thread Stauffer, Robert G
OK, that makes sense that PT wouldn't apply and that the rewrite engine won't reprocess the URL. Hmmm. I did a poor job of explaining what I'm trying to do. Basically I'm trying to hide the "jahia/Jahia" portion of the URL. That means there are three cases that need to be handled: 1) If the

Re: [EMAIL PROTECTED] java app URL rewrite

2008-09-18 Thread Justin Pasher
Stauffer, Robert G wrote: Justin, Just tried: RewriteEngine On RewriteLogLevel 3 RewriteLog logs/rewrite_port81.log RewriteRule ^/$ /jahia/Jahia/site/jazzd/pid/9 [C,PT] RewriteRule ^/jahia/Jahia/(.+)$ $1 [L] Same thing happened: It serves up the correct page, but the browser URL is

RE: [EMAIL PROTECTED] java app URL rewrite

2008-09-18 Thread Stauffer, Robert G
Justin, Just tried: RewriteEngine On RewriteLogLevel 3 RewriteLog logs/rewrite_port81.log RewriteRule ^/$ /jahia/Jahia/site/jazzd/pid/9 [C,PT] RewriteRule ^/jahia/Jahia/(.+)$ $1 [L] Same thing happened: It serves up the correct page, but the browser URL is http://portal-dev:81/ instea

Re: [EMAIL PROTECTED] java app URL rewrite

2008-09-18 Thread Justin Pasher
Stauffer, Robert G wrote: Hi all, OK, I'm stummped. I'm new to URL rewriting and I have one I struggling with. I've messed with it for a few days, but can't seem to get very far. Environment: Web server: IBM HTTP Server 6.0.2.23 - based on Apache 2.0.47 App server: IBM WebSphere App Server 6.

[EMAIL PROTECTED] java app URL rewrite

2008-09-18 Thread Stauffer, Robert G
Hi all, OK, I'm stummped. I'm new to URL rewriting and I have one I struggling with. I've messed with it for a few days, but can't seem to get very far. Environment: Web server: IBM HTTP Server 6.0.2.23 - based on Apache 2.0.47 App server: IBM WebSphere App Server 6.0.2.23 Java app: Jahia Conte

Re: [EMAIL PROTECTED] Re: close to success with RewriteRule

2008-09-18 Thread Eric Covener
On Thu, Sep 18, 2008 at 9:17 AM, André Warnier <[EMAIL PROTECTED]> wrote: > Alain Roger wrote: > [...] >> >> so if i understood well, apache understands as comment only and only if >> the >> line starts by "#" character at position 1. > Anyone with a more rigorous answer ? http://httpd.apache.org

Re: [EMAIL PROTECTED] Re: close to success with RewriteRule

2008-09-18 Thread André Warnier
Alain Roger wrote: [...] so if i understood well, apache understands as comment only and only if the line starts by "#" character at position 1. Not exactly, but something like that : - a line where the first non-blank character is a "#" will always be seen as a comment. The # does not have to

[EMAIL PROTECTED] Apache HTTP Server 2.2.8 MSI Silent Install with Custom httpd.conf

2008-09-18 Thread Margie Mounce
Hello, I've been investigating how to do a silent and custom installation of Apache HTTP Server 2.2.8 using msiexec.exe on Windows XP & Vista. I'm familiar with the msiexec parameters for the no user interface mode, but I have not been able to find the proper Apache parameters for setting the

[EMAIL PROTECTED] Re: close to success with RewriteRule

2008-09-18 Thread Alain Roger
Ok, so i finally found the mistake ... at work it worked because i did not add the comment (#every rewrite rule are based on /se_internet virtual folder so on L:\Webserver\se\internet\ physical folder ) after: RewriteBase /se_internet when the comment is removed from the line it works great :-) so

Re: [EMAIL PROTECTED] redirecting based on the browser locale

2008-09-18 Thread Nick Kew
On 18 Sep 2008, at 10:48, Yusuf Koer wrote: Hi, I would like to redirect to the right community based on the browser locale. If my browser is set to English locale, Apache should automatically redirect to for example mysite.com/en. That's called HTTP content negotiation. RTFM mod_negoti

Re: [EMAIL PROTECTED] redirecting based on the browser locale

2008-09-18 Thread André Warnier
Yusuf Koer wrote: Hi, I would like to redirect to the right community based on the browser locale. If my browser is set to English locale, Apache should automatically redirect to for example mysite.com/en. Is that possible and how would the RewriteCond/RewriteRule look like? Rule # 1 : the

[EMAIL PROTECTED] redirecting based on the browser locale

2008-09-18 Thread Yusuf Koer
Hi, I would like to redirect to the right community based on the browser locale. If my browser is set to English locale, Apache should automatically redirect to for example mysite.com/en. Is that possible and how would the RewriteCond/RewriteRule look like? Thanks Yusuf -