Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7921663
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T16:40:12+00:00 2026-06-03T16:40:12+00:00

I have my website setup to point to a directory on the web server.

  • 0

I have my website setup to point to a directory on the web server. I have a second site that is pointed to a sub folder inside the main directory of the main website. My question is, can you have the second site in the sub folder ignore any rules from the parent htaccess file in the main directory? I don’t want the rules from the main site affecting anything for the second site that is in the sub folder of the root of the main site. I want to also point out the main site has multiple sites pointed to it, so I cant just write rules specific to just one domain.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T16:40:14+00:00Added an answer on June 3, 2026 at 4:40 pm

    You will need to edit httpd.conf for this.

    Create a <VirtualHost> entry for your subdomain if not already created. In the <VirtualHost> section of your 2nd site add this code:

    DocumentRoot "/path/to/docuement/root/of/subdomain"
    
    <Directory "/path/to/docuement/root/of/subdomain">
        AllowOverride None
        Options None
        Order allow,deny
        Allow from all
    </Directory>
    

    Make sure to bounce apache after making these changes.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I currently have a news website setup in PHP/MYSQL that's a bit old and
Setup I have a website that draws RSS feeds and displays them on the
I am developing a website using MVC 3, I have a web setup project
Here's the setup. I have web site which is essentially a simple CMS. Here
In IIS 5.1, I have setup a website to point to my ASP.NET MVC
I have just setup VisualSVN on my local machine and on our server that
I currently have an asp.net website hosted on two web servers that sit behind
Basically I have a website. I have a properly setup sitemap so I assume
I have my personal website at www.yassershaikh.com, now I am planning to setup a
I have a project to setup an anonymous feedback form to our website. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.