Hi Arturo.
This can be done by the webserver. I use apache2 on Linux and point the virtual directory at /var/www (this is almost the default on my Debian installations):
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
Then I place an index.html file in /var/www with just one line of content:
<meta http-equiv="refresh" content="0;url=http://www.mydomain.com/otrs/customer.pl">
This will cause the user's browser to go to www.mydomain.com/otrs/customer.plhttp://www.mydomain.com/otrs/customer.pl immediately (the "0" preceding the url is the delay in seconds). Of course, you will have to change that url to your liking, but that's basically it.
If you're comfortable with apache's rewrite rules, you can do it all in the site configuration file without messing with index.html.
--
Lars
________________________________
From: otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] On Behalf Of arturo alonso
Sent: Friday, June 13, 2008 1:24 AM
To: otrs@otrs.org
Subject: [otrs] subdomains
Hi how I make one subdomain go to public.pl and not index.pl
I try to make in the directives In apache of this subdomain but always redirect to: subdomain.domain/otrs/index.pl
and I like only open subdomain.domain/otrs/public.pl
how i make the default file in OTRS is public.pl
thanks in advance