lanys Posted July 8, 2005 Posted July 8, 2005 Hello. I want, that www.**** will be redirected to www.****/directory1/ , but with "Redirect" when i write www.**** internet explorer shows "www.****/directory1/ " adress, but i want to see www.**** adress. Is it possible ? Maybe, someone could explain about "Index manager" ? ;-] Thanks in advance, Linas. Quote
TweezerMan Posted July 8, 2005 Posted July 8, 2005 I want, that www.my-TCH-domain.com will be redirected to www.my-TCH-domain.com/directory1/ , but with "Redirect" when i write www.my-TCH-domain.com internet explorer shows "www.my-TCH-domain.com/directory1/ " address, but i want to see www.my-TCH-domain.com address. Is it possible ? <{POST_SNAPBACK}> You'd need to use mod_rewrite directives in your .htaccess file to redirect a user to a different URL but not show the redirected URL in the user's browser. I believe the following would accomplish what you want: >RewriteEngine on RewriteBase / RewriteCond %{REQUEST_URI} !^/directory1/.* RewriteRule ^.*$ directory1/$1 Maybe, someone could explain about "Index manager" ? ;-] <{POST_SNAPBACK}> The Index Manager in CPanels allows you to configure what the webserver will display when you request a directory (a URL without a file name on the end of it, such as such as "http://www.my-TCH-domain.com/directory1/"), but there is no index.html file in that directory. "No Indexes" will give the user a "403 Forbidden" error message if a user tries to browse a directory and not display any file listing. "Standard Indexing" and "Fancy Indexing" will list the files in the directory, with "Standard" being a plain text listing, and "Fancy" including some graphical icons in the listing. Any option you configure for a particular directory's indexes will also apply to that directory's subdirectories, unless you explicitly configure the subdirectories with a different option. Hope this helps... Quote
lanys Posted July 8, 2005 Author Posted July 8, 2005 Thanks... Topic about index manager really helpful... With .haccess i will try to do smth.. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.