Re: [us...@httpd] mod_proxy not displaying images

2009-02-17 Thread Matt McCutchen
On Tue, 2009-02-17 at 11:59 -0500, Christopher Long wrote: I'm attempting to use mod_proxy to display various webpages via ProxyPass. I'm having issues getting the images to properly come through. Here is what I have in /conf/httpd.conf: IfModule proxy_module ProxyRequests Off

Re: [us...@httpd] How to serve up different content depending on authenticated user

2009-02-08 Thread Matt McCutchen
On Mon, 2009-02-09 at 12:31 +1000, Steve Dalton wrote: RewriteRule ^(.*)$ /var/www/accesstest/%{LA-U: REMOTE_USER}/$1 didn't work for me. But RewriteEngine on RewriteCond %{ENV:REDIRECT_PREFIXED_USER} !1 RewriteRule ^(.*)$ /var/www/accesstest/%{REMOTE_ USER}/$1 [E=PREFIXED_USER:1]

Re: [us...@httpd] Can not access Apache server from local network.

2009-02-07 Thread Matt McCutchen
On Sat, 2009-02-07 at 19:51 -0800, Steve Morrisey wrote: I have installed Apache 2.2 on a Linux box on my home network (192.168.1.105). When I open a browser on the Linux box and enter http://192.168.1.105 I get the expected “It Works” page. However when I try to access the Web Server from

Re: [us...@httpd] How to serve up different content depending on authenticated user

2009-02-05 Thread Matt McCutchen
On Thu, 2009-02-05 at 18:01 +1000, Steve Dalton wrote: I managed to do something similar in the end, using the prefix user_ for each user directory then adding .htaccess to root dir of: AuthType Basic AuthName Restricted Files AuthUserFile /var/www/passwd/htpasswd Require valid-user

Re: [us...@httpd] How to serve up different content depending on authenticated user

2009-02-05 Thread Matt McCutchen
On Thu, 2009-02-05 at 20:10 +1000, Steve Dalton wrote: Matt - That method didn't work for me... it got into an internal recursion and bombed out after 10 redirects. I think you do perhaps need to test for something to stop it going on forever. Does this happen even with the rule in the vhost

Re: [us...@httpd] Re: Help - Name Server - Maybe

2009-02-04 Thread Matt McCutchen
On Wed, 2009-02-04 at 08:48 +0100, André Warnier wrote: Razi Khaja wrote: Adding 10.0.0.115 to your hosts file shouldnt hurt. That is correct. But try adding this as well in your hosts file 127.0.0.1 localhost michealrogers.com http://michealrogers.net/ www.michealrogers.com

Re: [us...@httpd] Reverse Proxy URL confuion.

2009-02-04 Thread Matt McCutchen
On Wed, 2009-02-04 at 12:23 -0600, Robert Steinmetz AIA wrote: Here is my entire current VirtualHost some of it is probably redundant, like the Proxy tags. I have tried a lot of variations and so far none of them have affected the error message I get. VirtualHost *:80

Re: [us...@httpd] Reverse Proxy URL confuion.

2009-02-04 Thread Matt McCutchen
On Wed, 2009-02-04 at 17:00 -0600, Robert Steinmetz AIA wrote: Matt McCutchen wrote: Two issues: 1. The error you pasted suggests that your ProxyHTMLURLMap rule is not taking effect at all. My guess is that you need to include the configuration file that defines all the places links

Re: [us...@httpd] Reverse Proxy URL confuion.

2009-02-04 Thread Matt McCutchen
On Wed, 2009-02-04 at 22:04 -0600, Robert Steinmetz wrote: I've looked at the page source and the references seem to be generated by calling scripts. The links reported in the buttons are in the form http://application/mydomain.com:80/application/file.aspx I'm beginning to think that

Re: [us...@httpd] How to serve up different content depending on authenticated user

2009-02-04 Thread Matt McCutchen
On Thu, 2009-02-05 at 15:13 +1000, Steve Dalton wrote: I'm running apache 2.2 on Ubuntu and I need to serve up a different directory depending on the user that is authorised with the server. I've check the mailing list and apache docs but haven't found much so far - I may just not have the

Re: [us...@httpd] Re: Help - Name Server - Maybe

2009-02-03 Thread Matt McCutchen
On Mon, 2009-02-02 at 21:09 -0700, Michael Rogers wrote: Thanks for the encouragement! I feel like I slamming my head against a telephone pole as I am getting nowhere. My DSL modem that connects me to the internet has the static IP address of 66.113.46.108 michaelsrogers.com. I know the

Re: [us...@httpd] Reverse Proxy URL confuion.

2009-02-03 Thread Matt McCutchen
On Tue, 2009-02-03 at 18:43 -0600, Robert Steinmetz wrote: I am setting up a reverse proxy of an application. I have it working mostly except I can get the URLs to respond like I want to. it seem it should be simple but now I've gotten myself confused. VirtualHost *

Re: [us...@httpd] Reverse Proxy URL confuion.

2009-02-03 Thread Matt McCutchen
On Tue, 2009-02-03 at 21:26 -0600, Robert Steinmetz wrote: I think you may be right I've tried to put a ProxyHTMLURLMap in the configuration, it seems like all I need to do is remove one part of the url, from one file but so far It hasn't had any effect. OK... please post the new

Re: [us...@httpd] Semantics of RewriteOptions inherit in htaccess files needs improvement

2009-02-02 Thread Matt McCutchen
On Mon, 2009-02-02 at 21:00 +0100, Bob Ionescu wrote: 2009/2/2 Matt McCutchen m...@mattmccutchen.net: On Sun, 2009-02-01 at 23:19 +0100, Bob Ionescu wrote: E.g. domain1 points to /var/www, domain2 to /var/www/sub and /var/www/sub/.htaccess inherits (i.e. 1:1 copy) /var/www/.htaccess

Re: [us...@httpd] Semantics of RewriteOptions inherit in htaccess files needs improvement

2009-02-02 Thread Matt McCutchen
On Sun, 2009-02-01 at 23:19 +0100, Bob Ionescu wrote: 2009/1/31 Matt McCutchen m...@mattmccutchen.net: #1. Currently, RewriteOptions inherit works as if the parent's rules were copied and pasted into the child (after any other rules). This means that requests in the child directory

Re: [us...@httpd] Semantics of RewriteOptions inherit in htaccess files needs improvement

2009-02-01 Thread Matt McCutchen
On Sun, 2009-02-01 at 23:19 +0100, Bob Ionescu wrote: 2009/1/31 Matt McCutchen m...@mattmccutchen.net: #1. Currently, RewriteOptions inherit works as if the parent's rules were copied and pasted into the child (after any other rules). This means that requests in the child directory

[us...@httpd] Semantics of RewriteOptions inherit in htaccess files needs improvement

2009-01-31 Thread Matt McCutchen
I'd like to propose two improvements to the semantics of RewriteOptions inherit appearing in an htaccess file. #1. Currently, RewriteOptions inherit works as if the parent's rules were copied and pasted into the child (after any other rules). This means that requests in the child directory are

Re: [us...@httpd] IP-address spoofing a concern?

2009-01-27 Thread Matt McCutchen
On Tue, 2009-01-27 at 18:35 +, Nick Kew wrote: On Tue, 27 Jan 2009 10:02:58 -0500 Brian Mearns mearn...@gmail.com wrote: . So basically what I'm coming to is that session's aren't completely insecure unless over HTTPS? Well, you can send a session token. With HTTP Digest

Re: [us...@httpd] IP-address spoofing a concern?

2009-01-27 Thread Matt McCutchen
On Tue, 2009-01-27 at 14:16 -0500, Brian Mearns wrote: I'm not concerned right now with security of content, I'm concerned with someone highjacking another person's session. I send a session token, and the client sends it back, either in cookie data or in the URL. Either way, it's plain text

Re: [us...@httpd] Re: UserDir + SetHandler cgi-script broken? (Apache 2.0.52)

2009-01-24 Thread Matt McCutchen
On Sat, 2009-01-24 at 09:17 -0500, Brian Mearns wrote: On Fri, Jan 23, 2009 at 6:44 PM, Buck Golemon buck.gole...@amd.com wrote: Thanks for the reply, but if I remove the SetHandler directive above, it displays the file in plaintext just fine. It means both that the UserDir functions ok by

Re: [us...@httpd] content handler question

2009-01-23 Thread Matt McCutchen
On Sat, 2009-01-24 at 00:09 +0800, anson ho wrote: I have no way to upgrade apache as the content handler (a third party one) only support apache 1.3. So, is there any other ways that I can modify the response headers that were returned from the content handler. I've read mod_headers but it

Re: [us...@httpd] What is the difference between redirect and rewrite?

2009-01-21 Thread Matt McCutchen
On Thu, 2009-01-22 at 08:39 +0800, Chongwei Chen wrote: For Apache server, sometimes I see people use very simple redirect rule such as: redirect 301 / http://www.yourdomain.com/ But sometimes use a very complex rewrite rule to implement a redirect such as: RewriteEngine On

Re: [us...@httpd] passwords do not function

2009-01-19 Thread Matt McCutchen
On Mon, 2009-01-19 at 17:03 +, Keith Harris wrote: .htpasswd .htaccess I have followed all instructions on setting up a password protect directory on my local server. Nothing works. AuthUserFile .htpasswd According to the documentation, a relative AuthUserFile is interpreted from the

Re: [us...@httpd] persistent Basic Auth?

2009-01-17 Thread Matt McCutchen
On Sat, 2009-01-17 at 12:11 -0800, Grant wrote: I have a Location block requiring AuthType Basic in my default vhost and default SSL vhost. The problem is that I seem to need to authenticate twice, once when I hit the first HTTP page and again when I hit the first HTTPS page, even though the

Re: [us...@httpd] ReWrite woes

2009-01-14 Thread Matt McCutchen
On Wed, 2009-01-14 at 12:13 -0700, Sheldon Ross wrote: I cannot get mod_rewrite to work. VirtualHost * ServerAdmin webmas...@localhost DocumentRoot /var/www/ Directory / Options FollowSymLinks AllowOverride None /Directory

[us...@httpd] Safe namespace for passing environment vars to suexec-ed CGI script

2009-01-10 Thread Matt McCutchen
I operate a Web site on a shared hosting service that runs CGIs under suexec. The site contains three segments (this number will increase in the future), each of which contains one or more git repositories and has a rewrite rule to map the URLs of those repositories to gitweb, a CGI script. I