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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T15:13:33+00:00 2026-05-26T15:13:33+00:00

Consider a website installed in the ‘mysite’ directory: /var/www/html/mysite/index.php document root = /var/www/html url

  • 0

Consider a website installed in the ‘mysite’ directory:

/var/www/html/mysite/index.php
document root = /var/www/html
url = www.mysite.com/mysite/index.php

What would you call the following:

  1. /var/www/html/mysite/ index.php (Base path? Root path?)
  2. /var/www/html /mysite /index.php -or- http://www.mysite.com /mysite /index.php (Path? Base path?)
  3. http://www.mysite.com/mysite/index.php (Base URL)

I can’t seem to come up with a clear cut name to distinguish 1 and 2.

  • 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-26T15:13:34+00:00Added an answer on May 26, 2026 at 3:13 pm

    I’m from a ruby-on-rails background but…

    1) either base-path or root path are used for this. Pick one and be consistent 🙂
    3) in RoR we call this the “root url” but it’s also kinda the “home path” too.
    as to 2 – it doesn’t occur in rails (or at least we don’t have a name for it)

    it sounds like the following would be consistent without confusing them all:

    1. base-filepath == /var/www/html/mysite/ /index.php
    2. root-filepath == /var/www/html /mysite /index.php
    3. root-url == http://www.mysite.com/mysite/index.php

    An alternative would be:

    1. root-filepath
    2. home-filepath
    3. home-url

    my 2c 🙂

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

Sidebar

Related Questions

Please consider the following structure of my website: www.mydomain.com/ www.mydomain.com/index.php www.mydomain.com/404.php www.mydomain.com/css www.mydomain.com/blog/ How
Now I have my website built on PHP & Mysql. Consider this like a
Consider the following scenario: http://www.restserver.com/example.php returns some content that I want to work with
I am designing a online website (PHP, HTML and MySQL) with one of the
Consider a typical social networking website, which has more or less the following models:
Consider this scenario. I have my own website, that I use as my identifier,
When designing a website, what do you consider the best image format to use
Consider the following scenario:- A bookstore website has number of books and each book
What are the things to consider and watch out for when designing a website
Consider the following function declaration for checking current language on a bilingual website: function

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.