Jump to content

Recommended Posts

Posted

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.

Posted
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 ?

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" ? ;-]

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...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...