Skip to content

Tarik Billa

  • Web Development
    • html
    • vue.js
    • laravel
    • css
    • javascript
    • jquery
    • node.js
    • php
    • asp.net
  • Programming
    • python
    • java
    • c
    • c++
    • c#
  • git
  • android

document-root

Apache multiple DocumentRoot

January 9, 2024 by Tarik

Use Alias: Alias /ABC/ /var/www/ABC/ Alias /PQR/ /var/www/PQR/ Leave the document root pointing to /var/www/Others/index.php. It could do the trick. 🙂

Categories apache Tags apache, configuration, document-root, httpd.conf, webserver Leave a comment

Where is the web server root directory in WAMP?

January 1, 2024 by Tarik

If you installed WAMP to c:\wamp then I believe your webserver root directory would be c:\wamp\www, however this might vary depending on version. Yes, this is where you would put your site files to access them through a browser.

Categories server Tags document-root, server, wamp Leave a comment

How to change xampp localhost to another folder ( outside xampp folder)?

January 24, 2023 by Tarik

Edit the httpd.conf file and replace the line DocumentRoot “/home/user/www” to your liked one. The default DocumentRoot path will be different for windows [the above is for linux].

Categories localhost Tags document-root, localhost Leave a comment

Tarik Billa

Software Engineer
tarikbilla@gmail.com
+8801884414000
  • Reuse a hash in YAMLApril 17, 2024
  • Dockerfile: how to redirect the output of a RUN command to a variable?April 16, 2024
  • How to cd to a directory with spaces in the directory name?April 16, 2024
  • Maximum MIME type length when storing the type in a databaseApril 16, 2024
  • What is the difference between Unit, Integration, Regression and Acceptance Testing?April 16, 2024
© 2026 Tarik Billa