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

  • Home
  • SEARCH
  • 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 7532933
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T05:35:44+00:00 2026-05-30T05:35:44+00:00

So my current situation is that I want to set up a folder under

  • 0

So my current situation is that I want to set up a folder under my htdocs folder (let’s call it company) where I will store all of my company’s current content that is used to serve their website. The issue is that the links in the html pages are currently based on root index (/) whereas all of my folders needed for the pages including images, css are in /company. What is the best way to address this issue so that I do not need to change the links in every single html document to development url, then back to production url?

Thanks!

To clarify, all the pages are static html pages, and I use a simple text editor. I am not a web designer, I am just a web developer who needs to quickly edit some my company’s web pages to add/edit content and I am looking to do this as quickly as possble. I was hoping for an apache configuration option or something to that effect, but thanks to all for the answers.

  • 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-30T05:35:45+00:00Added an answer on May 30, 2026 at 5:35 am

    I ended up making a virtual host in the apache httpd.conf file which would make the document root for files in my /company folder /company instead of / . Worked like a charm.

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

Sidebar

Related Questions

The current situation is that topics are sorted by 3 main categories. There is
let me explain my current situation i have a SharePoint site lets say it
Here is my current situation: I have a user class that has an attribute
In my current situation I have a class that performs an operation synchronously. During
Current situation: Ubuntu 8.04 server edition (live server) Postgresql 8.3.7 (from standard repositories) Postgis
My current situation is: I have to read a file and put the contents
In my current situation, it is not unusual for me to have several UNIX
The situation: I need to convert our current development environment from Windows XP 32-bit to
I have a fairly standard inheritance situation in my current LINQ-to-SQL project. I have
Current, I've got a stored procedure that has a main goal of doing a

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.