customized URL

Moderator: crythias

Locked
lubinho
Znuny newbie
Posts: 1
Joined: 31 Jul 2011, 21:56
Znuny Version: 3.0.9

customized URL

Post by lubinho »

Hello,

I got problem set my own customized URL.. for example http://www.domain.com/customer.pl

If I set in file "apache2-httpd.include.conf" following code there is no problem show customer page http://www.domain.com/test/customer.pl

Code: Select all

# agent, admin and customer frontend
ScriptAlias /test/ "C:/OTRS/OTRS/bin/cgi-bin/"
Alias /otrs-web/ "C:/OTRS/OTRS/var/httpd/htdocs/"

    # set mod_perl2 options
    <Location /test/>
#        ErrorDocument 403 /customer.pl
#        ErrorDocument 403 /otrs/index.pl
        SetHandler  perl-script
        PerlResponseHandler ModPerl::Registry
        Options +ExecCGI
        PerlOptions +ParseHeaders
        PerlOptions +SetupEnv
        Order allow,deny
        Allow from all
    </Location>
but I got problem to set this type of URL path... http://www.domain.com/customer.pl (without test)

Code: Select all

# agent, admin and customer frontend
ScriptAlias / "C:/OTRS/OTRS/bin/cgi-bin/"
Alias /otrs-web/ "C:/OTRS/OTRS/var/httpd/htdocs/"

    # set mod_perl2 options
    <Location />
#        ErrorDocument 403 /customer.pl
#        ErrorDocument 403 /otrs/index.pl
        SetHandler  perl-script
        PerlResponseHandler ModPerl::Registry
        Options +ExecCGI
        PerlOptions +ParseHeaders
        PerlOptions +SetupEnv
        Order allow,deny
        Allow from all
    </Location>

Could you please help me solve this issue?
Locked