Jump to content


can i put some server files other then /var/www/html?

  • Please log in to reply
2 replies to this topic

#1 shams

  • Members
  • PipPipPip
  • Advanced Member
  • 42 posts

Posted 24 October 2006 - 04:05 AM

i have local server, the doument root is /var/www/html in fc5 the localhost is runing ok, there is other users runing php scripts, how i can configure apache for this users to run thier php scripts  from their own directories in localhost while they are offline? thankd in advanced for your help.

#2 R_P

  • Members
  • PipPipPip
  • Advanced Member
  • 98 posts

Posted 24 October 2006 - 02:21 PM

I don't quite understand what your asking, but: Take a look at Apache Aliases. Aliases allow you to serve files via apache that are not in your document root. Also, you can't run a PHP script (except from the command line) unless Apache is online. If this doesn't answer your question, please try to explain a little more.
Pro in: Win2K3S | Apache2 | PHP5 | Perl5 | MySQL | MSSQL | Firefox | Photoshop
Student of: Ubuntu6 | Java | C | VB.NET | ASP.NET
Developer: Roddzilla Webstudios, Burrson CG, DVIDSHUB, The Four Nations
Student: Georgia Tech, Georgia Tech College of Computing

#3 the_oliver

  • Members
  • PipPipPip
  • Advanced Member
  • 364 posts
  • LocationSurrey, UK

Posted 01 November 2006 - 12:17 AM

If you want to run from a single directory then you simply change this in apache's .conf file.
If however you wish to run from multiple directorys one option would be to set up virtual hosting.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users