httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shahzad Bhatti" <>
Subject [users@httpd] Cookies with Reverse Proxy Server
Date Tue, 23 Aug 2005 15:30:03 GMT
 I am setting up Apache 2.1.7 on Redhat 3.0 as reverse proxy server.
I have two applications setup "cas" is a single-sign-on service and
"wcs" is the actual application. When single-sign on service logs in,
it saves authentication in a cookie. I am trying to use 
ProxyPassReverseCookiePath to change the cookie path, but I still
see internal path. here is my configuration:
    ProxyPass /cas https://wd-cassrv1:8443/cas
    ProxyPassReverse /cas https://wd-cassrv1:8443/cas
    ProxyPassReverseCookiePath /cas https://wd-cassrv1:8443/cas
    ProxyHTMLURLMap	 https://wd-cassrv1:8443/cas	/cas

    ProxyPass /wcs http://wd-prtlsrv1:8080/wcs
    ProxyPassReverse /wcs http://wd-prtlsrv1:8080/wcs
    ProxyPassReverseCookiePath /wcs http://wd-prtlsrv1:8080/wcs
    ProxyHTMLURLMap http://wd-prtlsrv1:8080/wcs	/wcs

But cookies were
Set-Cookie: JSESSIONID=F6B1E759324F5B408CF07C710F29E53E; Path=http://wd-prtlsrv1:8080/wcs
Set-Cookie: CASTGC=TGC-12-mnNPeFDzImacf20t5xUfTQHB0uOT8qFjSRxsmI3fHVx9vHYTOf; Path=https://wd-cassrv1:8443/cas;
Set-Cookie: CASPRIVACY=enabled; Path=https://wd-cassrv1:8443/cas; Secure

Any suggestions.
Shahzad Bhatti
Integrated Software Specialists
1901 North Roselle Road, Suite 450
Schaumburg, IL 60195
Phone: 847-558-5342
Fax: 847-240-5073

-----Original Message-----
From: Spike Burkhardt []
Sent: Tuesday, August 23, 2005 10:13 AM
Subject: Re: [users@httpd] mass virtual hosting


  In your VirtualHost directive try:



Isabelle Moullet wrote:

> Bonjour,
> I am trying to install mass virtual hosting with Apache 2.0.53.
> I have the the following instructions in my conf file:
> #
> LoadModule vhost_alias_module modules/
> UseCanonicalName Off
> NameVirtualHost
> DirectoryIndex index.html index.html.var
> <VirtualHost>
>      ServerAdmin
>     ServerName
>      VirtualDocumentRoot /data/%p
>      DirectoryIndex index.html
>      CustomLog /var/log/httpd/main/access_log combined
>      ErrorLog  /var/log/httpd/main/error_log
>      ScriptAlias /cgi-bin /data/cgi-bin
>      Options +Indexes
>      IndexOptions FancyIndexing
> </VirtualHost>
> The documents are correctly served by /data/80 if the URL is
> BUT the documents are not served for unless I
> specified explicitely the filename such as
> Any idea of which directive I have to add to get the default index.html
> file for both cases AND
> Thanks for your help

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message