Re: [EMAIL PROTECTED] How to dsiplay photo from cgi-bin

2007-05-05 Thread Can Le
Thank Joshua Slive <[EMAIL PROTECTED]> wrote:. 1. Move your photo.jpg someplace else. 2. Reconfigure apache:http://wiki.apache.org/httpd/Errors/DirectoryAsScript On 1. It works when I moved image.jpg to htdocs: http://localhost/image.jpg On 2. Link suggested: Alias /c

Re: [EMAIL PROTECTED] URL Rewriting and DAV with Digest Authentication

2007-05-05 Thread Joshua Slive
On 5/4/07, The Gaijin <[EMAIL PROTECTED]> wrote: Use -- it is more efficient and safer in this case. RewriteEngine On RewriteLog /var/log/apache2/rewrite.log RewriteLogLevel 5 RewriteCond %{REQUEST_METHOD} ^(PROPFIND|PUT|DELETE)$ RewriteRule

Re: [EMAIL PROTECTED] InterModule Communications(DSO)

2007-05-05 Thread Joshua Slive
I am currently working with apache 2.0.59. Now in the process of writing some apache2 add-on C-module (DSO).As you know DSO Modules can interact with the server core via the Apache2 API. Using that API each module can access the server's data structures. Up to this I am fine. But I ha

Re: [EMAIL PROTECTED] single webpage redirect

2007-05-05 Thread Joshua Slive
On 5/5/07, The Gaijin <[EMAIL PROTECTED]> wrote: RewriteEngine On RewriteRule /login.html http://other.server.domain/login_url [R] This case can be replaced simply with Redirect /login.html http://other.server.domain/login_url which doesn't require mod_rewrite. Joshua. -

Re: [EMAIL PROTECTED] single webpage redirect

2007-05-05 Thread Dave Henderson
Thank Gaigin. I will do some more research. The Gaijin <[EMAIL PROTECTED]> wrote: On Sat, 2007-05-05 at 14:52 -0700, Dave Henderson wrote: > Gang, > > I am trying to perform a redirect to another server when accessing > a single webpage. Currently there are two sites connected over a WAN

Re: [EMAIL PROTECTED] single webpage redirect

2007-05-05 Thread The Gaijin
On Sat, 2007-05-05 at 14:52 -0700, Dave Henderson wrote: > Gang, > > I am trying to perform a redirect to another server when accessing > a single webpage. Currently there are two sites connected over a WAN > that both have Apache running to serve content. However, just one of > these locati

Re: [EMAIL PROTECTED] good book about apache 2.2

2007-05-05 Thread Nick Kew
On Sat, 5 May 2007 05:13:43 +0200 "Alain Roger" <[EMAIL PROTECTED]> wrote: > Hi, > > I'm quite a rookie under apache 2.2, however i've noticed some changes > between apache 2.0 and apache 2.2 that are from my point of view quite > important. Really? The user-visible differences are small: the o

Re: [EMAIL PROTECTED] RewriteEngine

2007-05-05 Thread Davi Leal
Joshua Slive wrote: > Davi Leal wrote: > > Does the rewrite engine not take into account the URI parameters? I get: > > > > init rewrite engine with requested uri /offers > > > > instead of > > > > init rewrite engine with requested uri /offers?id=9 > > In the docs for RewriteRule, see the big

[EMAIL PROTECTED] single webpage redirect

2007-05-05 Thread Dave Henderson
Gang, I am trying to perform a redirect to another server when accessing a single webpage. Currently there are two sites connected over a WAN that both have Apache running to serve content. However, just one of these locations contains user database information (for logging into the websi

Re: [EMAIL PROTECTED] good book about apache 2.2

2007-05-05 Thread Alpesh Patel
Hi, sorry but a foolish question. please tell me how to ask a question..as i am new and worndering to ask a queston ??? please help me i want to ask a question to user group.. i am registered but dont kknow .. please Thanks A Patel On 5/5/07, Alain Roger <[EMAIL PROTECTED]> wrote: Hi, I'm q

Re: [EMAIL PROTECTED] Slow Responding to Extra Request on Persistent Connection

2007-05-05 Thread Ryan Frishberg
Sorry to spam like this, but just curious if anyone has had a similar experience? -Ryan Ryan Frishberg wrote: Hey, I'm writing a program to test the performance of apache (we had a similar problem with lighttpd), and I keep running into a problem with persistent connections. We make a single

Re: [EMAIL PROTECTED] RewriteEngine

2007-05-05 Thread Joshua Slive
On 5/5/07, Davi Leal <[EMAIL PROTECTED]> wrote: Does the rewrite engine not take into account the URI parameters? I get: init rewrite engine with requested uri /offers instead of init rewrite engine with requested uri /offers?id=9 In the docs for RewriteRule, see the big box marked "Qu

[EMAIL PROTECTED] mod_rewrite do not rewrite internals

2007-05-05 Thread Емил Иванов / Emil Ivanov
Hi, I'm trying to make simple url rewriting for my site using mod_rewrite. The .htaccess: RewriteEngine On RewriteRule ^(.*)$ index.php?path=$0 When I test with http://localhost/some/path/here but instead of the path (some/path/here) I get index.php in the path?!? I looked in the rewrite.log

[EMAIL PROTECTED] InterModule Communications(DSO)

2007-05-05 Thread janmejay.tripathi
Hi there, I am currently working with apache 2.0.59. Now in the process of writing some apache2 add-on C-module (DSO).As you know DSO Modules can interact with the server core via the Apache2 API. Using that API each module can access the server's data structures. Up to this

Re: [EMAIL PROTECTED] apache 2.2.4 and SSL

2007-05-05 Thread Sascha Kersken
Hi, but what those 2 lines mean ? i did not find something in apache documentation Actually, it's quite verbose on this: http://httpd.apache.org/docs/2.2/mod/mod_ssl.html#sslrandomseed Regards Sascha - The official User-T

[EMAIL PROTECTED] apache 2.2.4 and SSL

2007-05-05 Thread Alain Roger
Hi, Could you tell me what does it mean concretly ? SSLRandomSeed startup builtin SSLRandomSeed connect builtin Because i understand it like that : if module SSL loaded, so : SSLRandomSeed startup builtin SSLRandomSeed connect builtin but what those 2 lines mean ? i did not find something

Re: [EMAIL PROTECTED] RewriteEngine

2007-05-05 Thread Davi Leal
Sascha Kersken wrote: > why don't you have your PHP script ViewOffer.php do the redirection? Like: > > if (!isset($_REQUEST['id'])) { > header ("Location: Offers.php"); > } Because we were trying to realize all the URI redesign at the Apache rewrite layer. The current gnuherds.org URIs suck!

Re: [EMAIL PROTECTED] RewriteEngine

2007-05-05 Thread Sascha Kersken
Hi, why don't you have your PHP script ViewOffer.php do the redirection? Like: - Original Message - From: "Davi Leal" <[EMAIL PROTECTED]> To: Sent: Saturday, May 05, 2007 11:04 AM Subject: [EMAIL PROTECTED] RewriteEngine Hi, How to do this: RewriteRule ^/offers?id=(.*) /ViewOff

[EMAIL PROTECTED] RewriteEngine

2007-05-05 Thread Davi Leal
Hi, How to do this: RewriteRule ^/offers?id=(.*) /ViewOffer.php?OfferId=$1 RewriteRule ^/offers(.*) /Offers.php$1 That is to say: if "id=" is present go to ViewOffer.php else go to Offers.php Best regards, Davi --