?
Solved

Can't turn mod_rewrite off in subdomain folder

Posted on 2009-03-28
2
Medium Priority
?
301 Views
Last Modified: 2012-05-06
This is a apache/cpanel server.

Subdomains are created in WHM, not in cpanel.

I have scripts installed in the accounts root and a .htaccess with mod rewrite rules in the roots as well. I need to install another script in a folder. On my regular domains I create a folder like this: mydomain.com/folder/ and add a .htaccess file inside the folder with RewriteEngine Off. Now everything works great and the roots mod rewrite rules are off for the /folder/.

Now I create sub.domain.com/folder/ and add a .htaccess just like above. It doesn't work. The mod rewrite rules from the roots htaccess is not turned off for the folder.

Why is there a difference between the sub and the TLD and how do I fix this from the folders .htaccess?
0
Comment
Question by:mitechhost
1 Comment
 
LVL 27

Accepted Solution

by:
Nopius earned 2000 total points
ID: 24015729
I guess, that your subdomain's root .htaccess/<virtual>/<directory>/<location> section in httpd.conf has 'AllowOverride none' or 'AllowOverride -FileInfo' restriction.

Read http://httpd.apache.org/docs/2.2/mod/core.html#allowoverride
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

CTAs encourage people to do something specific to show interest in your company, product or service. Keep reading to learn why CTAs should always be thought of as extremely important, albeit small, sections of websites.
Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.
Suggested Courses
Course of the Month14 days, 10 hours left to enroll

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question