Possible solutions of your questions

  hosting
<< Previous       FollowSymlinks

Question: Good afternoon. Tell me how to include PHP function FollowSymlinks?
Answer:

Hello.

the Question referred to the administrator, wait for amp.

Answer:

 

Hello. what is required? FollowSymlinks is not a php function

FollowSymlinks is disabled for security purposes and will not be included.

we can offer You a vps where you can use it
http://www.erahost.ru/tarif_vps.php

 

Question: For bonding index.html from the main page .htaccess
Answer:

 

why is there a  FollowSymlinks  ?

read

https://habrahabr.ru/sandbox/90459

 

Question: I do not know. Read on the forums. Quote: \"And to run the RewriteEngine Directive, you must turn on the server the PHP function FollowSymlinks\". Tell me, how do I do that?
Answer:

 RewriteEngine work by default on thousands of websites of our clients

Question: And can you tell me what am I doing wrong: Filled file .htaccess in the root folder of the subdomain. Prescribed in it:RewriteEngine OnRewriteRule ^index.html$ / [R=301,L] #double index.html ///Rewrite to wwwOptions +FollowSymLinksRewriteEngine onRewriteCond %{HTTP_HOST} ^souz.100pudov.by[nc]RewriteRule ^(.*)$ http://www.souz.100pudov.by/$1 [r=301,nc]//301 301 редиректRedirect souz.100pudov.by/index.html souz.100pudov.byРезультат - nothing happened. I thought that the problem is in the thing, as mentioned above
Answer:

what is the purpose of a redirect?

Question: To remove the double pages
Answer:

This removes duplicate pages, removes the redirect from the address bar file name index.html the second was redirected opens the website with www in the address bar.

What are the duplicate pages you want to remove?

Question: souz.100pudov.by and souz.100pudov.by/index.html souz.100pudov.by and www.souz.100pudov.by
Answer:

And which of them double?

Question: souz.100pudov.by/index.htmlwww.souz.100pudov.by
Answer:

ie. you need to have opened without the prefix www and the file index.html. Right?

Question: I want these pages were not included in the index and did not create a brace for the home page
Answer:

You need to specify two rules.

1) RewriteRule ^index.html$ / [R=301,L] is the rule you already have.

2) Redirect with www to without www

RewriteCond %{HTTP_HOST} ^www.example.com [NC]RewriteRule ^(.*) http://example.com/$1 [L,R=301]
Answer:

in Front of them, be sure to specify:

RewriteEngine on

Question: And the file should be something other than these lines ?RewriteEngine OnRewriteRule ^index.html$ / [R=301,L]RewriteCond %{HTTP_HOST} ^www.souz.100pudov.by [NC]RewriteRule ^(.*) http://souz.100pudov.by/$1 [L,R=301]doesn`t work
Answer:

Give the path to the file where you have saved the rules.

Answer:

Rename the file. The name must be a dot at the beginning

.htaccess

Question: /public_html/souz/htaccess
Answer:

Rename the file. The name must be a dot at the beginning

.htaccess

Question: FileOp Failure on: /home/aulas/public_html/souz/htaccess: Destination already existsОшибка when renaming
Answer:

the file must be .htaccess

if you are working in Fayoum Manager panel - enable the viewing of system files at startup

Question: Understood. Thanks for the help!
Answer:


ok


<< Previous