httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Arnold <>
Subject [users@httpd] Directory Setting Issues, i believe(kind of long)
Date Sat, 10 Mar 2012 19:42:22 GMT
Apache 2.2.12 on SLES11 SP2. I have a couple of vhosts; the one i am concerned about is teknerds.conf.
In teknerds.conf i have some rewrite rules (thanks Yehuda):
RewriteEngine On
RewriteRule ^/ifolder(.*) https://%{HTTP_HOST}/ifolder/ [L]
RewriteRule ^/admin(.*) https://%{HTTP_HOST}/admin/ [L]
to access some file services on the server (

I also have a install of OTRS (ticketing system) written in perl(
In order to make this easier for clients to get to, i have made otrs accessible by
by doing this:

making a new vhost.conf called helpdesk.teknerds.conf and adding this to that vhost.conf:

DocumentRoot /opt/otrs/bin/cgi-bin/

and adding this to the otrs.conf file which is in /etc/apache2/conf.d:

# agent, admin and customer frontend
Alias /otrs-web/ "/opt/otrs/var/httpd/htdocs/"
Alias / "/opt/otrs/bin/cgi-bin/"

this use to be:

# agent, admin and customer frontend
ScriptAlias / "/opt/otrs/bin/cgi-bin/"
Alias /otrs-web/ "/opt/otrs/var/httpd/htdocs/"
notice it is flipped and "Script" is removed.

I also commented out the location otrs.conf:
# set mod_perl2 options
#    <Location /otrs>
#        ErrorDocument 403 /otrs/
#        ErrorDocument 403 /otrs/
#        SetHandler  perl-script
#       PerlResponseHandler ModPerl::Registry
#        Options +ExecCGI
#        PerlOptions +ParseHeaders
#        PerlOptions +SetupEnv
#        Order allow,deny
#        Allow from all
#    </Location>
and then entered some of the commented out info from location otrs.conf into the otrs.conf

# directory settings
<Directory "/opt/otrs/bin/cgi-bin/">
    AllowOverride None
    Options +ExecCGI -Includes
    Order allow,deny
    Allow from all
    ErrorDocument 403 /otrs/
    AddHandler perl-script .pl .cgi
    PerlResponseHandler ModPerl::Registry
    PerlOptions +ParseHeaders

Now, i can access and get the customer login page of the ticketing
system like i want to. The problem is, i can no longer access
(and a few other
I know this is long but i wanted to give all the info i could and what exactly i did before
the other stuff broke. How do i access the other and

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message