Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Newbie Very Basic ?: Where do my files go? 3

Status
Not open for further replies.

alexjones

Programmer
Jul 27, 2001
132
US
I am a long-time Windows client-server developer. I am brand-new to web development in general and PHP / MySQL / Apache on Linux development in particular.

I have PHP and MySQL installed on my Windows XP Pro desktop, running IIS. I know that if I put my web pages in
C:\Inetpub\wwwroot\sitename
(assume one file named index.php), I can access them from IE with

I have a hosted site: mydomain.com and a subdomain: sub.mydomain.com. My question is: Where do I put my files on this Apache server in order to access them using
 
I have a hosted site with an Linux-Apache setup and I place my files in /home/username/public_html/sub. My web host has the server configured such that I can then access whatever is in that folder using
Clive
Runner_1Revised.gif

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"To err is human, but to really foul things up you need a computer." (Paul Ehrlich)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To get the best answers from this forum see: faq102-5096
 
The exact path will vary depending on server configuration, so we have no way of knowing what it is in your case. Ask your hosting provider. If you browse their online help they probably even have this documented in a FAQ or something.
 
i'd log in via telnet and see what the output of location httpd.conf is

opening that file should tell you where the docroot is to be found for your apache installation.

it might be a 'closed' directory so you might get better answers by sudo;ing the command.
 
You really know you're a newbie when you're not even sure what the right questions are. [smile].

Thank you for your suggestions.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top