Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [document-root]

The tag has no usage guidance.

1
vote
3answers
75 views

When I have multiple .htaccess files between several sites, which is the active one?

I have 4 sites hosted with the same ISP. The sites were modified endless times, and now, I have several .htaccess files. One of the is at the main root. The others are spread in different places. For ...
3
votes
2answers
315 views

How can the index.html file be served from a sub directory of the DocumentRoot without using system level links?

How can the index.html file be served from a sub directory of the DocumentRoot without using system level links? For example: Let the document root of an apache 2.4 virtual host be dirA Let the the ...
5
votes
3answers
465 views

Temporarily redirect WordPress url with query string from root directory to new url

This post seems to have my answer: How can I redirect old WordPress URL (with a query string) to new URL using .htaccess? However, this does not seem to play nicely with WordPress' previous rewrite ...
2
votes
0answers
57 views

Remote document root being overwritten with local

Today an interesting problem has arisen. A piece of code that relies on the Server Document Root suddenly stopped working on only my browsers. My machine is where I develop locally using xampp, and ...
2
votes
0answers
24 views

Changing a document in the root domain folder

I am a relatively new web developer/marketing manager for an e-commerce website set-up using prestashop (theoutdoorappliancestore.com). To start off they had hired an outside guy that created a ...
1
vote
3answers
85 views

Why I cannot see the root folder of my website?

I have a website hosted by Altervista on ComicPress theme. I purchased the second level domain, the URL is still myblogname.altervista.org. I installed FileZilla client for entering the root folder ...
2
votes
0answers
55 views

Locking subdomain document root folder name (cpanel)

I have moved the document root on one of my domains to serve content from RAM and as a result, the Time to First Byte on average dropped 10ms when I tested my server from the other end of North ...
2
votes
0answers
244 views

Change WAMP root directory for Apache so uses a shared folder from another virtual machine

I have installed Windows on a VMWare workstation and installed WAMP on it. Also I have installed WAMP on the main system. So I have shared c:/wamp/www folder from main system to that Virtual machine. ...
1
vote
1answer
343 views

Can a later DocumentRoot directive override an earlier DocumentRoot directive?

Because I use cPanel, the WHM developers are trying to restrict my subdomain creation to any folder within my user account of /home/username. In order to improve processing speed, I created a ram ...