Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Can't turn mod_rewrite off in subdomain folder

Posted on 2009-03-28
2
Medium Priority
?
299 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
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

Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

Question has a verified solution.

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

Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
Lease-to-own eliminates the expenditure of hardware replacement and allows you to pay off the server over time. Usually, this is much cheaper than leasing servers. Think of lease-to-own as credit without interest.
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
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

636 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