SSL - angefragter hostname

2008-09-29 Thread Andre Hübner
Hallo Liste, hab sowas in meiner httpd.conf um einen Host unter SSL erreichbar zu machen. VirtualHost ip.ad.re.ss:443 SuexecUserGroup user user Serveradmin [EMAIL PROTECTED] DocumentRoot /www/htdocs/user/ ServerName www.hostname.com php_admin_value open_basedir

Re: SSL - angefragter hostname

2008-09-29 Thread Falk Hackenberger
Andre Hübner schrieb: Kann ich es mit einer Option erreichen das der Apache auch nur ausliefert wenn der angefragte Hostname auch wirklich dem im Zertifikat entspricht? Bisher kommt zwar eine Warnung im Browser das der verwendete Host nicht zum Zertifikat passt, ich denke dies macht allein

Re: SSL - angefragter hostname

2008-09-29 Thread Christian Wäschenfelder
Hi, hiermit könnte man die Anfrage auf eine Fehlerseite umleiten: RewriteEngine on RewriteCond %{HTTP_HOST} !(www\.hostname\.com) RewriteRule .* /fehlerseite.html Die Meldung des Browsers bleibt allerdings erhalten, da der SSL-Handshake vor der Übermittlung des Requests stattfindet. Gruß,

Re: SSL - angefragter hostname

2008-09-29 Thread Andre Hübner
Hallo, Dir ist klar das der apache das was er sendet über nur über den hostnamen senden kann, der angefragt wurde? hilft RewriteCond Dir weiter? http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html falk ja, das ist mir klar. Der Server sollte aber eine art errorcode von sich aus senden

[EMAIL PROTECTED] SSL: CA-Certificate is not sent to browser with SSLCACertificatePath

2008-09-29 Thread Dennis Birkholz
Hello, I have a strange problem using SSL with apache 2.2.9 on Gentoo-Linux (mod_ssl 2.2.9 and OpenSSL 0.9.8g): I have two servers running with exactly the same apache and openssl binaries. On one server i can use the SSLCACertificatePath directive to let apache send the CA chain to the browser

Re: [EMAIL PROTECTED] Question

2008-09-29 Thread Eric Covener
On Sun, Sep 28, 2008 at 8:41 PM, [EMAIL PROTECTED] wrote: [error] [client 127.0.0.1] (20023)The given path was above the root path: Cannot map GET /D:/My%20Videos HTTP/1.1 to file, referer: http://localhost/ I read all Alias Instructions in manual. not clear to me. How do I add an alias

[EMAIL PROTECTED] Question about virtual hosts

2008-09-29 Thread Jason Pruim
Good morning everyone! I am attempting to setup an apache 2.2 server and I am getting a forbidden You do not have permission to access / on this server error. This is the first time I have setup apache by hand (Always had some form of a control panel) and I'm wondering if someone would be

Re: [EMAIL PROTECTED] Question

2008-09-29 Thread Peter J Milanese
- Original Message - From: Eric Covener [EMAIL PROTECTED] Sent: 09/29/2008 07:29 AM AST To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] Question On Sun, Sep 28, 2008 at 8:41 PM, [EMAIL PROTECTED] wrote: [error] [client 127.0.0.1] (20023)The given path was above the root

Re: [EMAIL PROTECTED] Question about virtual hosts

2008-09-29 Thread Eric Covener
VirtualHost *:80 DocumentRoot /home/jason.pruim/pruimphotography.info common /VirtualHost Copy the Directory container for your original document root to allow Apache to serve files from somewhere else. -- Eric Covener [EMAIL PROTECTED]

Re: [EMAIL PROTECTED] Question about virtual hosts

2008-09-29 Thread André Warnier
Jason Pruim wrote: Good morning everyone! I am attempting to setup an apache 2.2 server and I am getting a forbidden You do not have permission to access / on this server error. This is the first time I have setup apache by hand (Always had some form of a control panel) and I'm wondering if

[EMAIL PROTECTED] Apache processes are killed by a watchdog

2008-09-29 Thread faust
I have apache-2.2.9_5 under openvds (jail) in the FreeBSD system (6.3-STABLE). I configured Apache HTTP Server to create few virtual hosts. Starting Apache server is successful and it works ok. I have FreeBSD's watchdog script which performs some actions every 10 minutes and this watchdog just

Re: [EMAIL PROTECTED] Question

2008-09-29 Thread jg6789
This... Alias /music d:/my music directory d:/my music Order allow,deny Allow from all /directory ...Doesnt work. Does it have to be somehwere special in the config file? stopped and restarted apache to refresh config file. furthermore the link path upon clicking shows file:///D:/My Music

Re: [EMAIL PROTECTED] Question

2008-09-29 Thread Eric Covener
On Mon, Sep 29, 2008 at 10:04 AM, [EMAIL PROTECTED] wrote: This... Alias /music d:/my music directory d:/my music Order allow,deny Allow from all /directory ...Doesnt work. Does it have to be somehwere special in the config file? stopped and restarted apache to refresh config file.

Re: [EMAIL PROTECTED] Question

2008-09-29 Thread Diogo de Sousa Neves
hi, with that config lines you just need to access http://yourhost/music [EMAIL PROTECTED] wrote: This... Alias /music d:/my music directory d:/my music Order allow,deny Allow from all /directory ...Doesnt work. Does it have to be somehwere special in the config file? stopped and

Re: [EMAIL PROTECTED] Question

2008-09-29 Thread jg6789
Is there a way to get around the requirement of an index file being in there? i.e. it links but access is forbidden because there is no index file. - Original Message - From: Eric Covener [EMAIL PROTECTED] To: users@httpd.apache.org Sent: Monday, September 29, 2008 7:09 AM Subject:

Re: [EMAIL PROTECTED] Question

2008-09-29 Thread Eric Covener
On Mon, Sep 29, 2008 at 10:28 AM, [EMAIL PROTECTED] wrote: Is there a way to get around the requirement of an index file being in there? i.e. it links but access is forbidden because there is no index file. Hopefully the ErrorLog told you to set Options +Indexes to get a directory listing. --

Re: [EMAIL PROTECTED] Question

2008-09-29 Thread Tom Evans
On Mon, 2008-09-29 at 07:04 -0700, [EMAIL PROTECTED] wrote: This... Alias /music d:/my music directory d:/my music Order allow,deny Allow from all /directory ...Doesnt work. Does it have to be somehwere special in the config file? stopped and restarted apache to refresh config file.

Re: [EMAIL PROTECTED] Apache processes are killed by a watchdog

2008-09-29 Thread Tom Evans
On Mon, 2008-09-29 at 07:00 -0700, faust wrote: I have apache-2.2.9_5 under openvds (jail) in the FreeBSD system (6.3-STABLE). I configured Apache HTTP Server to create few virtual hosts. Starting Apache server is successful and it works ok. I have FreeBSD's watchdog script which performs some

Re: [EMAIL PROTECTED] Deny/Allow directives within Directory have no effect [Workaround]

2008-09-29 Thread Steffen Neumann
Hi, Just for the record, I worked around the problem using a rewrite to a 404 page for the clients not allowed. I'm still curious about the actual problem. Anyone ? Do I need to provide some more details ? Yours, Steffen On Tue, 2008-09-23 at 13:48 +0200, Steffen Neumann wrote: Hi,

[EMAIL PROTECTED] Question about SSL and Apache and a certificate error

2008-09-29 Thread Mike Soultanian
Our campus has an SSL certificate for www.csulb.edu. If you go to https://www.csulb.edu everything works peachy. Now, if you go to https://csulb.edu, you get an error. I talked to our server admin and he said it's because our certificate is registered to www.csulb.edu and not csulb.edu. He

Re: [EMAIL PROTECTED] Deny/Allow directives within Directory have no effect [Workaround]

2008-09-29 Thread André Warnier
Hi. On the face of it, I do not understand it either. I have re-read the doc, and I believe your Order, Allow and Deny directives are correct for what you want to do. The first thing maybe to check is if you don't by any chance have some Location sections that override your Directory

Re: [EMAIL PROTECTED] Deny/Allow directives within Directory have no effect [Workaround]

2008-09-29 Thread Eric Covener
Directory /path/to/protected Order deny,allow Allow from 192.168 Deny from all AllowOverride All Options -Indexes /Directory JkMount /protected/jsp/* tomcat_worker 141.x.x.x - - [23/Sep/2008:13:28:34 +0200] GET /protected/index.html HTTP/1.0 200

Re: [EMAIL PROTECTED] Question about SSL and Apache and a certificate error

2008-09-29 Thread Eric Covener
On Mon, Sep 29, 2008 at 4:25 PM, Mike Soultanian [EMAIL PROTECTED] wrote: Our campus has an SSL certificate for www.csulb.edu. If you go to https://www.csulb.edu everything works peachy. Now, if you go to https://csulb.edu, you get an error. I talked to our server admin and he said it's

Re: [EMAIL PROTECTED] Question about SSL and Apache and a certificate error

2008-09-29 Thread Mike Soultanian
Eric Covener wrote: On Mon, Sep 29, 2008 at 4:25 PM, Mike Soultanian [EMAIL PROTECTED] wrote: So, is it possible to set up a rewrite condition such that when someone tries to navigate to https://csulb.edu, it will automatically redirect the user to https://www.csulb.edu and avoid the

Re: [EMAIL PROTECTED] Question about SSL and Apache and a certificate error

2008-09-29 Thread Justin Pasher
Mike Soultanian wrote: Our campus has an SSL certificate for www.csulb.edu. If you go to https://www.csulb.edu everything works peachy. Now, if you go to https://csulb.edu, you get an error. I talked to our server admin and he said it's because our certificate is registered to

Re: [EMAIL PROTECTED] Deny/Allow directives within Directory have no effect [Workaround]

2008-09-29 Thread André Warnier
Eric Covener wrote: Directory /path/to/protected Order deny,allow Allow from 192.168 Deny from all AllowOverride All Options -Indexes /Directory JkMount /protected/jsp/* tomcat_worker 141.x.x.x - - [23/Sep/2008:13:28:34 +0200] GET

Re: [EMAIL PROTECTED] Question about SSL and Apache and a certificate error

2008-09-29 Thread Mike Soultanian
Justin Pasher wrote: You can simplify this a bit by saying redirect anything that is not going to www.csulb.edu. However, you'll have to put the rewrite directives inside the VirtualHost configuration for the SSL version of the site, as the .htaccess file is run after a connection is

[EMAIL PROTECTED] Creating a relocatable build of apache

2008-09-29 Thread Jonathon Jonathon
Hello all, I've looked all over google for apache relocatable as well as the archive for this mailing list and I've had no luck, so I've decided to post a message. I am currently building apache on my build machine at: /path/to/apache/source and everything works great. However, when I copy

Re: [EMAIL PROTECTED] Question about SSL and Apache and a certificate error

2008-09-29 Thread Justin Pasher
Mike Soultanian wrote: Justin Pasher wrote: You can simplify this a bit by saying redirect anything that is not going to www.csulb.edu. However, you'll have to put the rewrite directives inside the VirtualHost configuration for the SSL version of the site, as the .htaccess file is run after

Re: [EMAIL PROTECTED] Question about SSL and Apache and a certificate error

2008-09-29 Thread Dan Poirier
On Mon, 29 Sep 2008 16:40:49 -0500, Justin Pasher [EMAIL PROTECTED] said: If you do it within the apache config, the server will send the 302 redirect header before trying to exchange any SSL key related information. Once they have been kicked over to https://www.csulb.edu/, the normal SSL

Re: [EMAIL PROTECTED] Question about SSL and Apache and a certificate error

2008-09-29 Thread Justin Pasher
Justin Pasher wrote: Mike Soultanian wrote: Justin Pasher wrote: You can simplify this a bit by saying redirect anything that is not going to www.csulb.edu. However, you'll have to put the rewrite directives inside the VirtualHost configuration for the SSL version of the site, as the

Re: [EMAIL PROTECTED] Question about SSL and Apache and a certificate error

2008-09-29 Thread Mike Soultanian
Justin Pasher wrote: Actually, ignore everything I just said. All this time I thought that was what apache was doing, but it's actually occurring after the mismatched server name warning is presented. The rewrite rule will still catch the request and redirect them to https://www.csulb.edu,

Re: [EMAIL PROTECTED] Question about SSL and Apache and a certificate error

2008-09-29 Thread Justin Pasher
Mike Soultanian wrote: Justin Pasher wrote: Actually, ignore everything I just said. All this time I thought that was what apache was doing, but it's actually occurring after the mismatched server name warning is presented. The rewrite rule will still catch the request and redirect them

Re: [EMAIL PROTECTED] Trailing slash problem, not the typical one

2008-09-29 Thread Melvin Foong
Hey Nick Kew, AcceptPathInfo worked! Thanks! -- Melvin Foong On Sun, Sep 28, 2008 at 3:17 PM, Nick Kew [EMAIL PROTECTED] wrote: On 28 Sep 2008, at 01:50, Melvin Foong wrote: Hello there, I am having this problem with my new server where I could not get it to work. I am looking to

Re: [EMAIL PROTECTED] Deny/Allow directives within Directory have no effect [Workaround]

2008-09-29 Thread Eric Covener
On Mon, Sep 29, 2008 at 5:20 PM, André Warnier [EMAIL PROTECTED] wrote: Eric Covener wrote: Directory /path/to/protected Order deny,allow Allow from 192.168 Deny from all AllowOverride All Options -Indexes /Directory JkMount /protected/jsp/*

Re: [EMAIL PROTECTED] Creating a relocatable build of apache

2008-09-29 Thread Eric Covener
On Mon, Sep 29, 2008 at 5:33 PM, Jonathon Jonathon [EMAIL PROTECTED] wrote: Hello all, I've looked all over google for apache relocatable as well as the archive for this mailing list and I've had no luck, so I've decided to post a message. I am currently building apache on my build machine

[EMAIL PROTECTED] Cannot connect to apache from outside machines

2008-09-29 Thread jg6789
Ok done all the research I can, time for some collaboration. New Server apache 2.5 apache running default configuration xampp/htdocs/index.html http://localhost and http://ipaddress works great. outside machines cannot connect to http://ipaddress main gateway and routers have been forwarded

[EMAIL PROTECTED] Tomcat Issue

2008-09-29 Thread Mohit Anchlia
I wasn't able to find appropriate forum for Tomcat. I thought I'll check if this is right place. I am using tomcat as my web and app server. I need to rewrite URL just like mod_rewrite in apache. Is that possible to do that in tomcat.

Re: [EMAIL PROTECTED] Creating a relocatable build of apache

2008-09-29 Thread Jonathon Jonathon
Thanks for the reply. However, I am a bit confused. So after, I copy everything from my build directory to my new machine, I should edit the bin/envvars and point them to the apache libs. However, inside the apachectl script, I see that HTTPD is being hardcoded to the build machines build

Re: [EMAIL PROTECTED] Question about SSL and Apache and a certificate error

2008-09-29 Thread Mike Soultanian
Justin Pasher wrote: Ahhh... Now it should actually be possible. If possible, I would (personally) try to push all traffic to www.csulb.edu whenever they try to pull csulb.edu. Whether or not this is possible in your situation, I do not know. Something like this in the VirtualHost config

Re: [EMAIL PROTECTED] Creating a relocatable build of apache

2008-09-29 Thread Eric Covener
On Mon, Sep 29, 2008 at 7:44 PM, Jonathon Jonathon [EMAIL PROTECTED] wrote: Thanks for the reply. However, I am a bit confused. So after, I copy everything from my build directory to my new machine, I should edit the bin/envvars and point them to the apache libs. However, inside the

[EMAIL PROTECTED] Logging

2008-09-29 Thread Diogo de Sousa Neves
Hi, Is there a way to have individual access logs using userdir_module ? thanks - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To

Re: [EMAIL PROTECTED] Logging

2008-09-29 Thread Nilesh Govindrajan
I think you can do that using Location feature. Though I'm not sure. On Tue, Sep 30, 2008 at 6:33 AM, Diogo de Sousa Neves [EMAIL PROTECTED]wrote: Hi, Is there a way to have individual access logs using userdir_module ? thanks

Re: [EMAIL PROTECTED] Cannot connect to apache from outside machines

2008-09-29 Thread Nilesh Govindrajan
check the logs On Tue, Sep 30, 2008 at 4:48 AM, [EMAIL PROTECTED] wrote: Ok done all the research I can, time for some collaboration. New Server apache 2.5 apache running default configuration xampp/htdocs/index.html http://localhost and http://ipaddress works great. outside machines

[EMAIL PROTECTED] Injection of content when using mod_proxy, forward proxy

2008-09-29 Thread Dan Trainor
Hello - I've been looking for a way to somehow inject some content - a header, if you will - in to any *initial* page that passes through Apache's mod_proxy. I say *initial* because I wish to only apply this process to the first page viewed, of a single page - not to subsequent pages