Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

500 Error With IfModule Not Allowed Here Log

General questions about VestaCP
Post Reply
  • Print view
Advanced search
1 post • Page 1 of 1
decentguy49
Posts: 9
Joined: Tue Nov 21, 2017 4:32 pm

500 Error With IfModule Not Allowed Here Log
  • Quote

Post by decentguy49 » Sun Dec 09, 2018 5:48 pm

Recently I create a domain and a sub domain, say mydomain.com and media.mydomain.com, I have a folder named media in public_html folder of mydomain.com, means at /home/admin/web/mydomain/public_html

So I updated DocumentRoot in conf file of media.mydomain.com to /home/admin/web/mydomain/public_html/media

Now whenever i try to access media.mydomain.com, i get 500 Error and error log says

Code: Select all

/home/admin/web/mydomain/public_html/.htaccess : <IfModule Not Allowed Here.
If I delete .htaccess file from /home/admin/web/mydomain/public_html, it sub domain work fine.
Top


Post Reply
  • Print view
1 post • Page 1 of 1

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password