shams Posted October 24, 2006 Share Posted October 24, 2006 hi,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. Quote Link to comment Share on other sites More sharing options...
R_P Posted October 24, 2006 Share Posted October 24, 2006 I don't quite understand what your asking, but: Take a look at [url=http://httpd.apache.org/docs/2.0/mod/mod_alias.html]Apache Aliases[/url]. 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. Quote Link to comment Share on other sites More sharing options...
the_oliver Posted November 1, 2006 Share Posted November 1, 2006 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.