Question: |
Good afternoon. Tell me why in the created subdomain is not working htaccess? (Line-2 http://nickz.testar.testforhost.com/)Created a subdomain: postmen.nickz.testar.testforhost.com - set up the folder public_html/postmen/public - settings subdomain, if I go to http://nickz.testar.testforhost.com/postmen/public/ - everything is OK htaccess works if I go: http://postmen.nickz.testar.testforhost.com/ - only works if you specify a file: http://postmen.nickz.testar.testforhost.com/index.phpПодскажите what could be the reason? How to ensure that htaccess worked for a subdomain? |
Answer: |
Hello htaccess may not rabatti. this file does not make sense the file must be named .htaccess it is not working, he can not. can not rabotti only made You Prasiola if they are not true http://postmen.nickz.testar.testforhost.com/ works fine http://postmen.nickz.testar.testforhost.com/index.php here you have the external connected non-existing files statistics tot https://tools.pingdom.com/#!/digLkQ/http://postmen.nickz.testar.testforhost.com/index.php |
Question: |
the file is called .htaccess content it is tested and working on my local server. To see it in the folder. |
Question: |
http://postmen.nickz.testar.testforhost.com/ - redirects to http://postmen.nickz.testar.testforhost.com/cgi-sys/defaultwebpage.cgi rules .htaccess ignored |
Question: |
If you follow the link: http://nickz.testar.testforhost.com/postmen/public/ - rules will not be ignored, to start immediately file index.php |
Question: |
can I increase upload_max_filesize up to 20 MB and max_execution_time to 60 seconds. |
Answer: |
the rules apply to all enclosed subfolders. no redirect http://postmen.nickz.testar.testforhost.com on http://postmen.nickz.testar.testforhost.com/cgi-sys/defaultwebpage.cgi net dokazatelstvo https://tools.pingdom.com/#!/ctaC3R/http://postmen.nickz.testar.testforhost.com clear the cache in Your browser |
Question: |
About .htaccess - please see, for some reason, the subdomain of the rules prescribed therein are ignored. But if I`m in the same folder will go through the main domain - policies work. Sorry if I use slang, I`ll try to speak correctly and follow correct spelling. It would be great if You still had to watch my subdomain and the contents of the folder, and made sure that the file is called \".htaccess\" - and the content it correct. |
Question: |
Thanks, apparently I have somehow cached the original redirect, thanks for the help. |
Question: |
can I increase upload_max_filesize up to 20 MB and max_execution_time to 60 seconds. - And now will improve these settings, please I would be very grateful. Thanks in advance for the help |
Answer: |
zakalyalas you potamu that you went too fast on the added domain without waiting 10 seconds necessary to update the server configuration the max_execution_time is 90C upload_max_filesize 50 MB |
Question: |
thank you |
Answer: |
ok |