Jump to content

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


shams

Recommended Posts

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.
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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.