[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [ic] Redirection of domain name


> I need to have a simple domain name for my clients to use, such as 
> shop.mydomain.com
> and I want to redirect that to 
> shop.mydomain.com/cgi-bin/myshop
> because the latter is a lot harder for clients to remember.
> 
> I have tried putting a redirect in apache in the virtual host
> configuration for shop.mydomain.com such as
> redirect permanent / http://shop.mydomain.com/cgi-bin/myshop/
> but that doesn't work as it continually loops until apache decides that 
> there are too many redirects.
> 
> Any suggestions?

Set the DirectoryIndex as such adjusting to your paths ofcourse.


<Directory /apache/htdocs/shop.mydomain.com>
  DirectoryIndex /cgi-bin/mysop/index.html
</Directory> 

jerry

_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.