Forum Moderators: phranque
what i want:
1. to set the the apache that the root dir is the oscommerce dir
2. how can i do this
3. and when im click on the links in the oscommerce-the root dir must be remain the same-because i try with html redirecting and in this case always come this www.mysite.com/oscommerce and i want just www.mysite.com
thanks
i want to make:
for every request of my site
www.example.com goes directly to www.example.com/oscommerce/
but the link remain www.example.com
and also for a request like
www.example.com/oscommerce/kuku.php => www.example.com/kuku.php
what must i wrote in my htaccess?
thanks
For best results, please review our forum charter [webmasterworld.com].
Also, there are links to several resources there which may help.
Basically, you want to rewrite, not redirect, all requests to the /oscommerce subdirectory, unless the URL already contains the /oscommerce subdirectory path. This can be accomplished with one RewriteCond and one RewriteRule. The resources cited in our charter will help you get started.
Jim