
Hi all, I know this is more of an HTTPD question, rather than OTRS - or so I believe. But I think you are more than capable of replying back with the answer in no time. We used to call our OTRS server using the server IP, and not that currently the server holds nothing but OTRS in the default RPM installation directory; */opt/otrs*. We recently acquired added a DNS record support.company.com and pointed that to the OTRS server. Running CentOS and HTTPD, of course typing the domain name shows the default Apache welcome screen, we have to add */otrs/index.pl* to access the server. Is it possible to access our OTRS by just going to the domain name? Thanks //M

Hi Muhammad!
What we did, I believe, was a rewrite in the host.conf file. So, access to helpdesk.domain.com rewrites to helpdesk.domain.com/otrs/customer.pl. I can't give you an example right now as I am at a client site but I can get that to you in about 3 hours or so (if nobody else replies here).
Sent from my iPhone.
On Apr 30, 2012, at 8:17 AM, Muhammad El-Sergani
Hi all,
I know this is more of an HTTPD question, rather than OTRS - or so I believe. But I think you are more than capable of replying back with the answer in no time.
We used to call our OTRS server using the server IP, and not that currently the server holds nothing but OTRS in the default RPM installation directory; /opt/otrs. We recently acquired added a DNS record support.company.com and pointed that to the OTRS server.
Running CentOS and HTTPD, of course typing the domain name shows the default Apache welcome screen, we have to add /otrs/index.pl to access the server. Is it possible to access our OTRS by just going to the domain name?
Thanks //M
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

Thank you very much Chris. If no one else replies, I'll surely be waiting
for your response.
Thanks
//M
On Mon, Apr 30, 2012 at 2:32 PM, Chris Arnold
Hi Muhammad! What we did, I believe, was a rewrite in the host.conf file. So, access to helpdesk.domain.com rewrites to helpdesk.domain.com/otrs/customer.pl. I can't give you an example right now as I am at a client site but I can get that to you in about 3 hours or so (if nobody else replies here).
Sent from my iPhone.
On Apr 30, 2012, at 8:17 AM, Muhammad El-Sergani
wrote: Hi all,
I know this is more of an HTTPD question, rather than OTRS - or so I believe. But I think you are more than capable of replying back with the answer in no time.
We used to call our OTRS server using the server IP, and not that currently the server holds nothing but OTRS in the default RPM installation directory; */opt/otrs*. We recently acquired added a DNS record support.company.com and pointed that to the OTRS server.
Running CentOS and HTTPD, of course typing the domain name shows the default Apache welcome screen, we have to add */otrs/index.pl* to access the server. Is it possible to access our OTRS by just going to the domain name?
Thanks //M
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

Hi Muhammad,
In our installation, we offer just 3 URLs:
· https://otrs.company.com/faq: entry point for PublicUsers
· https://otrs.company.com/user: entry point for CustomerUsers
· https://otrs.company.com/agent: entry point for Agents
· any 404 error redirects to the CustomerUser entry point.
We achieved this modifying our apache conf file (in /etc/httpd/conf/httpd.conf):
· We’ve added a virtualhost that redirects all incoming http to https:

Hello Juan, Thanks for the detailed info, will certainly have this in mind. Much appreciated! Thanks //M On Mon, Apr 30, 2012 at 2:45 PM, Juan Manuel Clavero Almirón < juanm.clavero@ibsalut.es> wrote:
Hi Muhammad,****
In our installation, we offer just 3 URLs:****
**· **https://otrs.company.com/faq: entry point for PublicUsers*** *
**· **https://otrs.company.com/user: entry point for CustomerUsers ****
**· **https://otrs.company.com/agent: entry point for Agents****
**· **any 404 error redirects to the CustomerUser entry point.****
** **
We achieved this modifying our apache conf file (in /etc/httpd/conf/httpd.conf):****
**· **We’ve added a virtualhost that redirects all incoming http to https:****
** **
**** RedirectPermanent / https://otrs.company.com/****
ErrorDocument 404 /user****
</VirtualHost>****
**· **Then, in ssl.conf section (among many other ssl-related config)****
** **
**** ** **
ErrorDocument 404 /user ****
** **
# public, customer, agent frontend****
ScriptAlias /faq "/opt/otrs/bin/cgi-bin/public.pl"****
ScriptAlias /user "/opt/otrs/bin/cgi-bin/customer.pl"****
ScriptAlias /agent "/opt/otrs/bin/cgi-bin/index.pl"****
****
Alias /otrs-web/ "/opt/otrs/var/httpd/htdocs/"****
** **
**· **Then you have to add a location for each one of these ScriptAlias:****
** **
**** SetHandler perl-script****
PerlResponseHandler ModPerl::Registry****
Options +ExecCGI****
PerlOptions +ParseHeaders****
PerlOptions +SetupEnv****
Order allow,deny****
Allow from all****
</Location>****
** **
I hope this will help you to configure your HTTPD server. ****
* *
*Kind regards,*
*Juan Clavero Almirón*****
** **
*De:* Muhammad El-Sergani [mailto:msergani@gmail.com] *Enviado el:* lunes, 30 de abril de 2012 14:34 *Para:* User questions and discussions about OTRS. *Asunto:* Re: [otrs] Set DNS to OTRS directory****
** **
Thank you very much Chris. If no one else replies, I'll surely be waiting for your response. ****
** **
Thanks****
//M****
****
On Mon, Apr 30, 2012 at 2:32 PM, Chris Arnold
wrote:**** Hi Muhammad!****
What we did, I believe, was a rewrite in the host.conf file. So, access to helpdesk.domain.com rewrites to helpdesk.domain.com/otrs/customer.pl. I can't give you an example right now as I am at a client site but I can get that to you in about 3 hours or so (if nobody else replies here).
Sent from my iPhone. ****
** **
On Apr 30, 2012, at 8:17 AM, Muhammad El-Sergani
wrote:**** Hi all,****
** **
I know this is more of an HTTPD question, rather than OTRS - or so I believe. But I think you are more than capable of replying back with the answer in no time.****
** **
We used to call our OTRS server using the server IP, and not that currently the server holds nothing but OTRS in the default RPM installation directory; */opt/otrs*. We recently acquired added a DNS record support.company.com and pointed that to the OTRS server.****
** **
Running CentOS and HTTPD, of course typing the domain name shows the default Apache welcome screen, we have to add */otrs/index.pl* to access the server. Is it possible to access our OTRS by just going to the domain name? ****
** **
Thanks****
//M****
** **
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs****
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs****
** **
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

Hi Muhammad, http://www.pa.msu.edu/services/computing/faq/auto-redirect.html I used the javascript alternative in the index.html: <script language="javascript" type="text/javascript"> <!-- window.location="http//support.company.com/otrs/customer.pl"; // --> </script> Note: we use the customer.pl so that our customers do not need to enter the full URL. For a tech support user it ought not be a problem for them to use the complete URL: http//support.company.com/otrs/index.pl Regards Rudolf Von: otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] Im Auftrag von Muhammad El-Sergani Gesendet: Montag, 30. April 2012 14:17 An: OTRS Betreff: [otrs] Set DNS to OTRS directory Hi all, I know this is more of an HTTPD question, rather than OTRS - or so I believe. But I think you are more than capable of replying back with the answer in no time. We used to call our OTRS server using the server IP, and not that currently the server holds nothing but OTRS in the default RPM installation directory; /opt/otrs. We recently acquired added a DNS record support.company.comhttp://support.company.com and pointed that to the OTRS server. Running CentOS and HTTPD, of course typing the domain name shows the default Apache welcome screen, we have to add /otrs/index.plhttp://index.pl to access the server. Is it possible to access our OTRS by just going to the domain name? Thanks //M

Hello Rudolf,
Your method works like a charm, thanks a lot!
I understand your point, and of course, it's 100% correct. Just trying to
provide the easiest and smoothest environment :)
To Chris, I still would very much appreciate if you could provide your
method as well.
Thanks
//M
On Mon, Apr 30, 2012 at 2:43 PM, Rudolf Bargholz
Hi Muhammad,****
** **
http://www.pa.msu.edu/services/computing/faq/auto-redirect.html****
** **
I used the javascript alternative in the index.html:****
** **
<script language="javascript" type="text/javascript">****
****
</script>****
** **
Note: we use the customer.pl so that our customers do not need to enter the full URL. For a tech support user it ought not be a problem for them to use the complete URL:****
** **
http//support.company.com/otrs/index.pl****
** **
Regards****
** **
Rudolf****
** **
*Von:* otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] *Im Auftrag von *Muhammad El-Sergani *Gesendet:* Montag, 30. April 2012 14:17 *An:* OTRS *Betreff:* [otrs] Set DNS to OTRS directory****
** **
Hi all,****
** **
I know this is more of an HTTPD question, rather than OTRS - or so I believe. But I think you are more than capable of replying back with the answer in no time.****
** **
We used to call our OTRS server using the server IP, and not that currently the server holds nothing but OTRS in the default RPM installation directory; */opt/otrs*. We recently acquired added a DNS record support.company.com and pointed that to the OTRS server.****
** **
Running CentOS and HTTPD, of course typing the domain name shows the default Apache welcome screen, we have to add */otrs/index.pl* to access the server. Is it possible to access our OTRS by just going to the domain name? ****
** **
Thanks****
//M****
** **
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

On 30.04.12 14:17, Muhammad El-Sergani wrote:
Hi all,
I know this is more of an HTTPD question, rather than OTRS - or so I believe. But I think you are more than capable of replying back with the answer in no time.
We used to call our OTRS server using the server IP, and not that currently the server holds nothing but OTRS in the default RPM installation directory; //opt/otrs/. We recently acquired added a DNS record support.company.com http://support.company.com and pointed that to the OTRS server.
Running CentOS and HTTPD, of course typing the domain name shows the default Apache welcome screen, we have to add //otrs/index.pl http://index.pl/ to access the server. Is it possible to access our OTRS by just going to the domain name?
Thanks //M
Not knowing your current Apache configuration it's hard to know where exactly the problem comes from. But you might have to set your DocumentRoot to /opt/otrs for the virtual host OTRS is running in (or for the default httpd configuration) and you will most probably also have to adapt /etc/httpd/conf.d/zzz_otrs.conf (or however your OTRS httpd configuration file is named) if you want to get rid of the intermediate "otrs" in the URL. frank
participants (5)
-
Chris Arnold
-
Frank Thommen
-
Juan Manuel Clavero Almirón
-
Muhammad El-Sergani
-
Rudolf Bargholz