You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2012/10/19 22:40:11 UTC

[Bug 54029] New: Having SetEnv in .htaccess file stopped woriking in Apache 2.4

https://issues.apache.org/bugzilla/show_bug.cgi?id=54029

          Priority: P2
            Bug ID: 54029
          Assignee: bugs@httpd.apache.org
           Summary: Having SetEnv in .htaccess file stopped woriking in
                    Apache 2.4
          Severity: major
    Classification: Unclassified
                OS: Solaris
          Reporter: mark.tischler@alcatel-lucent.com
          Hardware: Sun
            Status: NEW
           Version: 2.4.3
         Component: Core
           Product: Apache httpd-2

Created attachment 29497
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=29497&action=edit
httpd.conf for our 2.2.15 Apache installation

A .htaccess file using SetEnv doesn't do anything in Apache 2.4.3, while it did
in Apache 2.2.15.

The .htaccess file (unchanged from Apache 2.2.15):

SetEnv LD_LIBRARY_PATH
/usr/lib:/opt/SUNWmotif/lib:/opt/x11r6/lib:/usr/openwin/lib:/usr/ucblib:/aopt/rational/releases/purify.sol.7.0.1/cache/sol8/usr/lib:/home/klim1/public_html/webls_lib:/home/klim1/public_html/webls_lib:/home/klim1/ARSperl/lib_701
AuthName "mobility.ih WebServer (Enter your web ID)"
AuthUserFile /info/www/dataweb/data/store/admin/.htpasswd
AuthGroupFile /home/klim1/.domestic_wtsc
AuthType Basic
<Limit GET POST>
require group domestic_wtsc
</Limit>

Basically the SetEnv directive does not change the LD_LIBRARY_PATH.

I have attached the 2.2.15 httpd.conf file.  Will attempt to attache the 2.4.3
httpd.conf after submitting the bug report.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 54029] Having SetEnv in .htaccess file stopped woriking in Apache 2.4

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54029

--- Comment #8 from Mark Tischler <ma...@alcatel-lucent.com> ---
This weekend, the server hosting our web server was rebooted, and the problem
went away.  I have no explanation for this.  Sorry for the red-herring.  You
can close this ticket.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 54029] Having SetEnv in .htaccess file stopped woriking in Apache 2.4

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54029

--- Comment #1 from Mark Tischler <ma...@alcatel-lucent.com> ---
Created attachment 29498
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=29498&action=edit
httpd.conf for our 2.4.3 Apache installation

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 54029] Having SetEnv in .htaccess file stopped woriking in Apache 2.4

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54029

Eric Covener <co...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #9 from Eric Covener <co...@gmail.com> ---
Assume pasted config had not been actually loaded... pls reopen if the symptom
returns.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 54029] Having SetEnv in .htaccess file stopped woriking in Apache 2.4

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54029

--- Comment #2 from Mark Tischler <ma...@alcatel-lucent.com> ---
We built both Apache installations on Solaris 8 and are running them on a
Solaris 10 zone.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 54029] Having SetEnv in .htaccess file stopped woriking in Apache 2.4

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54029

--- Comment #7 from Mark Tischler <ma...@alcatel-lucent.com> ---
I thought I should be more explicit.  When I say "what comes out is..", I mean
that I put http://mobility.web.alcatel-lucent.com/~tischler/klim in to the
Location bar of my browser and hit return.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 54029] Having SetEnv in .htaccess file stopped woriking in Apache 2.4

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54029

--- Comment #4 from Mark Tischler <ma...@alcatel-lucent.com> ---
The .htaccess file is in /home/klim1/public_html/time_sheet.  I also tried one
that's in /home/tischler/public_html/klim.  In both cases, it is readable to
the world.  If I put nonsense in it, I get an internal server error as
expected.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 54029] Having SetEnv in .htaccess file stopped woriking in Apache 2.4

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54029

--- Comment #6 from Mark Tischler <ma...@alcatel-lucent.com> ---
I check the value with an index.cgi script in the same directory as the
.htaccess, and it looks as follows:

#!/bin/ksh

echo "Content-type: text/html\n\n"
echo LD=$LD_LIBRARY_PATH

What comes out is:
LD=/info/www/gpweb/server/mobility.2.4.3/lib

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 54029] Having SetEnv in .htaccess file stopped woriking in Apache 2.4

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54029

--- Comment #3 from Eric Covener <co...@gmail.com> ---
What directory is it in? Is the htaccess read at all? What happens if you put
nonsense in it and request a file?

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 54029] Having SetEnv in .htaccess file stopped woriking in Apache 2.4

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54029

--- Comment #5 from Eric Covener <co...@gmail.com> ---
How do you check the value? CGI, logging?

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org