On Fri, Apr 18, 2008 at 4:57 AM, syed mehdi <[EMAIL PROTECTED]> wrote:
> Hi Guys,
> After installing apache2, python lib for apache2 (libapache2....), and doing
> some changes in default file in /etc/apache2/sites-available i was able to
> execute python scripts in /var/www/ directory from client side using url
> http://machine-ip/var/www/abc.py.
>  but i want to place all of my python scripts in some other directory like
> /home/username/myserver, so what changes i have to make in configuration
> files at /etc/apache2/apache2.conf or some other place (like
> /etc/apache2/sites-available/default), so that my server side scripts placed
> in this folder (/home/username/myserver) gets executed from client side
> using some url like http://machine-ip/home/username/myserver/abc.py.

Well, this depends on the details of your setup. But the following
document introduces the basics of what you need to know:
http://httpd.apache.org/docs/2.2/urlmapping.html

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to