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 7629821
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T05:56:12+00:00 2026-05-31T05:56:12+00:00

Trying to configure apache2 to load example.com/forum/ from a different document root, relative to

  • 0

Trying to configure apache2 to load example.com/forum/ from a different document root, relative to the site root. Forums are installed somewhere else on the server.

Is there a directory alias command? I’ve found the alias configuration entry for apache, but had no luck.

Basically, I want example.com to have the same directory its always had, but example.com/forum/ to be hosted somewhere else, on the same server.

I tagged this question with mod_rewrite because I thought maybe it would be the key, here.

Cheers!

  • 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-05-31T05:56:14+00:00Added an answer on May 31, 2026 at 5:56 am

    Alias is the right way, unless you have some subtlety that you didn’t reveal in your question.

     # http.conf
     Alias /forum /usr/lib/bbs/  # or whatever
    

    The job of Alias is to take the abstract URL coming into your system and map it to a concrete filesystem path. Once it has done that, the request is no longer an URL but a path. If there is no Alias or similar directive handling that URL, then it will get mapped to a conrete path via DocumentRoot.

    If this isn’t working, you have to debug it further. Are you getting errors when you access /forum? Look in the error log.

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

Sidebar

Related Questions

I'm trying to configure my local Apache2 server to host several Symfony websites using
I'm trying to configure Apache 2.2 from ports (in FreeBSD). I've written my own
Running Ubuntu 10, RVM, Passenger and apache2. Trying to configure and get Redmine running.
Hello i'm trying to configure apache2 server for python, i used this command to
I've been trying to configure the user and password for proxy authentication from the
I'm trying to configure mod_mono with Apache2 on OSX. I would like to run
I am trying to configure Apache2 so I can use MySQL for authenticating users
I'm trying to configure Apache to allow read only access and ask for user
I am trying to configure an apache server using mod_wsgi for dynamic mass hosting.
I'm trying to configure a dedicated server that runs ASP.NET to send mail through

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.