htaccess is blocking cookie transmission

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have an internal site at the following file path:
/home/http/kbmls/ and since /home/http is the document root, the
site is referenced as follows: http://bart.johnson.com/kbmls.
bart.johnson.com is my internal domain (locally resolved host).

The default page is kbmlsLoader.py, which is symlinked from
/home/tim/prj/cgi/baker/kbmls so that I can used both traditional
cgi and a 'clean URL'.

I find that the cookie set by the first request to the site
http://bart.johnson.com/kbmls is not being transmitted. IOWS: A
check for the cookie on a second request does not find it, even
though I can verify that the cookie is set on my system.

It is likely that something is wrong with my .htaccess file
Code:
############################################################
AcceptPathInfo On
Options +ExecCGI
AddHandler cgi-script py
DirectoryIndex kbmlsLoader.py 
RewriteEngine on
RewriteBase /kbmls
RewriteCond %{HTTP_COOKIE} lang=([^;]+) [NC]
RewriteRule ^(.*)$ /$1?lang=%1 [NC,L,QSA]
RewriteCond $1
!^(kbmlsLoader\.py|images|css|js|robots\.txt|favicon\.ico)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ ./kbmlsLoader.py/$1 [L,QSA]
############################################################

What am I doing wrong?
thanks
tim
-- 
Tim 
tim at johnsons-web.com or akwebsoft.com
http://www.akwebsoft.com

---------------------------------------------------------------------
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 unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux