RE: [EMAIL PROTECTED] Relative images and css lost after Rewrite

2008-04-22 Thread Boyle Owen
-Original Message- From: Weldon Sams [mailto:[EMAIL PROTECTED] Sent: Monday, April 21, 2008 10:27 PM To: users@httpd.apache.org Subject: [EMAIL PROTECTED] Relative images and css lost after Rewrite Hi, I have a question related to losing my styling and images after performing a

RE: [EMAIL PROTECTED] How to turn off xml parser on linux apache

2008-04-22 Thread Mika Tapio Tuhkanen
Apache doesn't generate error log on this issue. For example I try to open XML with firefox I get something like element not found (I don't have English FF) and on IE cannot display webpage. BUT when I open the xml on the windows apache (with FF or IE) shows up perfectly. I didn't setup the linux

Re: [EMAIL PROTECTED] Adding a Header to the httpd response

2008-04-22 Thread Mohammed Salih
Thank you Joshua for your response, I tried to use the SetEnvIf and Header combination before, but as you said SetEnvIf is only useful for the request headers. So can you please help me in creating the negative-lookahead regex. I am very bad at regex. Thanks in advance. Salih On Mon, Apr 21,

Re: [EMAIL PROTECTED] urgent help needed

2008-04-22 Thread Mohammed Salih
Hi Sayed, Did you check if the directory /user/lib/cgi-bin/mine is having an AllowOverride AuthConfig in the apache configuration. Example: Directory /user/lib/cgi-bin/mine AllowOverride AuthConfig /Directory OR Directory /user/lib/cgi-bin/mine AllowOverride All /Directory to allow all

[EMAIL PROTECTED] url proxying (ssl-ssl)

2008-04-22 Thread Melanie Pfefer
hi again, I configured ssl on apache (front-end) to access my backend server (tomcat) using https (https://proxy--https://backend) The following rewrite rule was working when I used url proxying on non-ssl apache (http://proxy - https://backend) SSLProxyEngine On SSLProxyCACertificatePath

Re: [EMAIL PROTECTED] urgent help needed

2008-04-22 Thread syed mehdi
Thanks salih, i added the directive Directory /user/lib/cgi-bin/mine AllowOverride AuthConfig /Directory in config file after line: AccessFileName .htaccess, but now while accessing the same url i am getting the error as: [Tue Apr 22 14:11:28 2008] [alert] [client 127.0.0.1]

Re: [EMAIL PROTECTED] urgent help needed

2008-04-22 Thread Mohammed Salih
Hi Sayed, The Correct Directive is AuthLDAPUrl not AuthLDAPURL. The directive is case sensitive. By the way you have to load the module auth_ldap_module (httpd 2.0), in order to get the functionality. Apache httpd 2.0 - http://httpd.apache.org/docs/2.0/mod/mod_auth_ldap.html#authldapurl Apache

[EMAIL PROTECTED] RewriteCond and Rule

2008-04-22 Thread Emil Edeholt
Hello! I've been trying to make my urls look like site.com/foo instead of site.com/index.php?page=foo so I have one rewriterurl that rewrites /foo to my php script and one rule that redirects old index.php-url:s to my new urls. When I apply both rules they end up in an infinite loop that I

Re: [EMAIL PROTECTED] url proxying (ssl-ssl)

2008-04-22 Thread Melanie Pfefer
it is ok now... I missed RewriteEngine On :) thanks. --- On Tue, 22/4/08, Melanie Pfefer [EMAIL PROTECTED] wrote: From: Melanie Pfefer [EMAIL PROTECTED] Subject: [EMAIL PROTECTED] url proxying (ssl-ssl) To: users@httpd.apache.org Date: Tuesday, 22 April, 2008, 11:39 AM hi again, I

Re: [EMAIL PROTECTED] apache does not preserve user session of tomcat

2008-04-22 Thread Melanie Pfefer
hi Krist, indeed enabling ssl on front-end solved the problem. thx --- On Mon, 21/4/08, Krist van Besien [EMAIL PROTECTED] wrote: From: Krist van Besien [EMAIL PROTECTED] Subject: Re: [EMAIL PROTECTED] apache does not preserve user session of tomcat To: users@httpd.apache.org, [EMAIL

[EMAIL PROTECTED] Ldap Bind (w/ mod_auth_ldap)

2008-04-22 Thread imarinkrat1
I would like to be able to bind to my Ldap server using the username and password passed in from the user trying to access this directory. Due the current configuration of my Ldap server, I am unable to do an annonymous bind, and apparently, it's not secure to hardcode my username and password

Re: [EMAIL PROTECTED] RewriteCond and Rule

2008-04-22 Thread Rich Bowen
On Apr 22, 2008, at 05:57, Emil Edeholt wrote: Hello! I've been trying to make my urls look like site.com/foo instead of site.com/index.php?page=foo so I have one rewriterurl that rewrites /foo to my php script and one rule that redirects old index.php-url:s to my new urls. When I apply

Re: [EMAIL PROTECTED] Ldap Bind (w/ mod_auth_ldap)

2008-04-22 Thread Harry Holt
On Tue, Apr 22, 2008 at 9:18 AM, imarinkrat1 [EMAIL PROTECTED] wrote: I would like to be able to bind to my Ldap server using the username and password passed in from the user trying to access this directory. Due the current configuration of my Ldap server, I am unable to do an annonymous

[EMAIL PROTECTED] Re: Relative images and css lost after Rewrite

2008-04-22 Thread Weldon Sams
Thanks Owen. I figured that's what was happening but I was hoping there was some voodoo I could do to keep things relative but mask what is in the URL. I suppose I could separate it like, /~user/list/foo-ABC-XYZ That wouldn't be too bad. Well thanks for your help. Weldon - Original message - I

[EMAIL PROTECTED] The simplest of questions ...

2008-04-22 Thread Tall Paul
I am guessing that this is the simplest problem there is but it has me stumped. I installed Apache and PHP and ran the localhost tests and all is well. I have a static IP and I am behind a US Robotics router in which I forwarded port 80 to this PC. I sent my IP (68.82.124.204) to my sister and

Re: [EMAIL PROTECTED] mod_rewrite: PATH_INFO gets injected with each Rule

2008-04-22 Thread Rich Bowen
On Apr 21, 2008, at 08:54, Aleksander Budzynowski wrote: Hi, The behaviour I'm seeing resemebles the bug described here: http:// archive.apache.org/gnats/7879 Reportedly it was fixed in 2.0.30. However, testing under both 2.2.3 and 2.0.61 I get the same sort of problem. Essentially,

[EMAIL PROTECTED] Printing Content-Length in Apache access_log

2008-04-22 Thread Arnab Ganguly
Hi All, How do I get the content length in the access log.Is there any configuration I need to do in the httpd.conf file? Also what is the 276 value in the line of the access log file 12.246.123.60 - - [04/Apr/2003:13:01:15 -0500] GET /scripts/root.exe?/c+dir HTTP/1.0 404 276 ? Thanks in

Re: [EMAIL PROTECTED] The simplest of questions ...

2008-04-22 Thread Joshua Slive
On Tue, Apr 22, 2008 at 11:00 AM, Tall Paul [EMAIL PROTECTED] wrote: I am guessing that this is the simplest problem there is but it has me stumped. I installed Apache and PHP and ran the localhost tests and all is well. I have a static IP and I am behind a US Robotics router in which I

Re: [EMAIL PROTECTED] Printing Content-Length in Apache access_log

2008-04-22 Thread Joshua Slive
On Tue, Apr 22, 2008 at 10:08 AM, Arnab Ganguly [EMAIL PROTECTED] wrote: Hi All, How do I get the content length in the access log.Is there any configuration I need to do in the httpd.conf file? Also what is the 276 value in the line of the access log file 12.246.123.60 - -

Re: [EMAIL PROTECTED] The simplest of questions ...

2008-04-22 Thread pbhewitt
Thanks Joshua, I have an FTP server running and people can access that just fine. It is running on port 21. I just tried the validator but it said the address has to be in the form of a URL and not an IP. I wonder if that is the problem? I was going to purchase a domain name anyway ... maybe I

Re: [EMAIL PROTECTED] The simplest of questions ...

2008-04-22 Thread Davide Bianchi
Tall Paul wrote: which I forwarded port 80 to this PC. I sent my IP (68.82.124.204) to my sister and asked her to test the server. She put http://68.82.124.204 in her browser and got the page not found message. That could mean that she did hit your server but simply didn't got the index.html

Re: [EMAIL PROTECTED] The simplest of questions ...

2008-04-22 Thread Joshua Slive
On Tue, Apr 22, 2008 at 10:39 AM, [EMAIL PROTECTED] wrote: Thanks Joshua, I have an FTP server running and people can access that just fine. It is running on port 21. I just tried the validator but it said the address has to be in the form of a URL and not an IP. I wonder if that is the

Re: [EMAIL PROTECTED] The simplest of questions ...

2008-04-22 Thread Rich Bowen
On Apr 22, 2008, at 11:00, Tall Paul wrote: I am guessing that this is the simplest problem there is but it has me stumped. I installed Apache and PHP and ran the localhost tests and all is well. I have a static IP and I am behind a US Robotics router in which I forwarded port 80 to this

Re: [EMAIL PROTECTED] Printing Content-Length in Apache access_log

2008-04-22 Thread Rich Bowen
On Apr 22, 2008, at 10:08, Arnab Ganguly wrote: Hi All, How do I get the content length in the access log.Is there any configuration I need to do in the httpd.conf file? Also what is the 276 value in the line of the access log file 12.246.123.60 - - [04/Apr/2003:13:01:15 -0500] GET

RE: [EMAIL PROTECTED] The simplest of questions ...

2008-04-22 Thread Alastair Roy
This sounds like a firewall problem, do you have a firewall installed on the PC, check if this is maybe blocking port 80 From: Rich Bowen [mailto:[EMAIL PROTECTED] Sent: 22 April 2008 16:11 To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] The simplest of questions ... On Apr

Re: [EMAIL PROTECTED] The simplest of questions ...

2008-04-22 Thread Rich Bowen
On Apr 22, 2008, at 10:39, [EMAIL PROTECTED] wrote: I have an FTP server running and people can access that just fine. It is running on port 21. I just tried the validator but it said the address has to be in the form of a URL and not an IP. I wonder if that is the problem? I was going to

Re: [EMAIL PROTECTED] The simplest of questions ...

2008-04-22 Thread Doug McNutt
68.82.124.204 -- c-68-82-124-204.hsd1.pa.comcast.net I would be very surprised if Comcast allows serving via HTTP unless special - read $$$ - arrangements have been made. The IP address does not respond to a ping. -- -- If it's not on fire it's a software problem. --

Re: [EMAIL PROTECTED] The simplest of questions ...

2008-04-22 Thread Krist van Besien
On Tue, Apr 22, 2008 at 5:00 PM, Tall Paul [EMAIL PROTECTED] wrote: I have a static IP and I am behind a US Robotics router in which I forwarded port 80 to this PC. I sent my IP (68.82.124.204) to my sister and asked her to test the server. She put http://68.82.124.204 in her browser and got

[EMAIL PROTECTED] Using mod_mem_cache with MPM

2008-04-22 Thread Kunal Shah
Is mod_mem_cache modules cache is shared among the Multiple processes started using MPM module? Is there any special configuration needed? My tests with mod_disk_cache works with MPM module, since all processes points to the same cache directory and finds it. If this can't be done using httpd

Re: [EMAIL PROTECTED] Using mod_mem_cache with MPM

2008-04-22 Thread Joshua Slive
On Tue, Apr 22, 2008 at 2:02 PM, Kunal Shah [EMAIL PROTECTED] wrote: Is mod_mem_cache modules cache is shared among the Multiple processes started using MPM module? Is there any special configuration needed? The cache is shared between all works in the same process. That means it will be

Re: [EMAIL PROTECTED] protecting directory with cosign

2008-04-22 Thread Chris Africa
The answer to my problem was here: http://ammonlauritzen.com/blog/2006/11/20/no-groups-file/ The author of this site mentions that some of the behaviors previously performed by mod_auth in Apache 1.3 are split into separate modules in Apache 2. In addition to the modules loaded by default

[EMAIL PROTECTED] header unset content-encoding

2008-04-22 Thread michel platini
Hi all, im new to this newsgroup and I hope to be not inopportune. I've a problem I can't figure out... I looked 2 days but nothing so I decided to write to this newsgroup. There are 3 system: a standalone application whose goal is to download content (client) resin as application server (as)

Re: [EMAIL PROTECTED] header unset content-encoding

2008-04-22 Thread Joshua Slive
On Tue, Apr 22, 2008 at 2:43 PM, michel platini [EMAIL PROTECTED] wrote: the problem is that apache set the header content-encoding to be chunked before send the response. this is a problem because the client is not http\1.1 compliant and doesn't work if there are no content-length header.

Re: [EMAIL PROTECTED] Using mod_mem_cache with MPM

2008-04-22 Thread Kunal Shah
Thanks Joshua for your response. I hope this is documented somewhere. I was wondering if any other disk operation e.g. cleanup would interfere and degrade the overall performance. Thanks, Kunal On Tue, Apr 22, 2008 at 1:22 PM, Joshua Slive [EMAIL PROTECTED] wrote: On Tue, Apr 22, 2008 at

Re: [EMAIL PROTECTED] header unset content-encoding

2008-04-22 Thread michel platini
Hi Joshua, You are right: the client states it is HTTP\1.1. In this case the client specification is not compliant with http\1.1. I'll try your suggestion. Thank you Luca On Tue, Apr 22, 2008 at 8:50 PM, Joshua Slive [EMAIL PROTECTED] wrote: On Tue, Apr 22, 2008 at 2:43 PM, michel platini

Re: [EMAIL PROTECTED] The simplest of questions ...

2008-04-22 Thread steve
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alastair Roy wrote: | This sounds like a firewall problem, do you have a firewall installed on | the PC, check if this is maybe blocking port 80 | | or an ISP problem. many of them are known to block incoming HTTP requests on all ports. I had that

Re: [EMAIL PROTECTED] silent URL redirect/cloak with mod_rewrite

2008-04-22 Thread Hank
I solved the problem. I have in the .htaccess file in the root directory (../public_html/) RewriteEngine On RewriteCond %{HTTP_HOST} ^domainA.comt$ RewriteRule ^(.*)$ /home/user/public_html/siteA/$1 but then in the /siteA subdirectory, I now have another .htaccess file with only:

Re: [EMAIL PROTECTED] The simplest of questions ...

2008-04-22 Thread Tall Paul
Well thanks to all the great suggestions I got past the first hurdle. I changed the listening port to 8080 and now my webpage can be accessed via the net. Now I would like to have the ability to allow people to upload and download files, like an online file server. Any ideas about that? Paul

Re: [EMAIL PROTECTED] The simplest of questions ...

2008-04-22 Thread j k
On Tue, Apr 22, 2008 at 7:19 PM, Tall Paul [EMAIL PROTECTED] wrote: Well thanks to all the great suggestions I got past the first hurdle. I changed the listening port to 8080 and now my webpage can be accessed via the net. Now I would like to have the ability to allow people to upload and

[EMAIL PROTECTED] SSL offloading problem load-balancer(ssl)---Apache-2.0.59(non-ssl)---tomcat

2008-04-22 Thread Subbu kattamuri
Hi, SSL is terminated on the load balancer and apache HTTP 2.0.59 is running http only and not https. Application (running on tomcat), perhaps due to the use of absolute URLs when writing HTML, is not letting the content in general to work properly. We have mixed protocol references (https and

Re: [EMAIL PROTECTED] The simplest of questions ...

2008-04-22 Thread steve
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tall Paul wrote: | Well thanks to all the great suggestions I got past the first hurdle. I | changed the listening port to 8080 and now my webpage can be accessed | via the net. Now I would like to have the ability to allow people to | upload and

[EMAIL PROTECTED] mod_rails: Strange, strange problem

2008-04-22 Thread Kyrre Nygård
hello! lately, all randomly, i've been getting plain text instead of my actual pages. a refresh usually takes care of the problem. what's going on? -- Content-Type: text/html; charset=utf-8 Set-Cookie: _mysite_session=BAh7CzoOcmV0dXJuX3RvMDoKdGl0bGV7BmkVdToJVGltZQ2IDhuAK1UeADoL

[EMAIL PROTECTED] ldap authentication

2008-04-22 Thread syed mehdi
When a user authenticates using LDAP user/paswd to execute a script placed at server, then how can the script determine which user have executed it (after authentication). By this we can keep track of users making changes in database otherwise any user can make changes anywhere and it will be in a

Re: [EMAIL PROTECTED] The simplest of questions ...

2008-04-22 Thread Emmanuel E
you might want to look at a cgi scripts like this one, which i use. It provides an upload/download area. you will need to configure authentication in apache in case you want security, the script does not do any authentication. i run it on an apache ssl server and use basic auth. I cant seem