[users@httpd] Configure wsgi on Debian

2014-02-28 Thread jupiter
Hi, I am setting up wsgi apache2 in squeeze using following configuration which works on httpd in CentOS 6, but does not work with apache2 in Debian 6. WSGIScriptAlias /test_wsgi /var/www/wsgi/test_wsgi.py Order allow,deny Allow from all After restarted apache2, I tried https://myweb.com/test_

Re: [users@httpd] Set multiple DocumentRoot

2012-10-27 Thread jupiter
012 at 08:02:11PM +1000, jupiter wrote: >> I need to set DocumentRoot to two directories, one for development and >> one for testing. But the server has only one IP address, and there is >> no DNS. Is it possible? If so, please give an example. > > Use different ports. You can set

[users@httpd] Set multiple DocumentRoot

2012-10-26 Thread jupiter
Hi, I need to set DocumentRoot to two directories, one for development and one for testing. But the server has only one IP address, and there is no DNS. Is it possible? If so, please give an example. Thank you. Kind regards, j ---

Re: [users@httpd] apache access permission

2012-10-19 Thread jupiter
OK to have the private ssh key in > /var/www/.ssh/id_pub since that will not get served to clients. You are right. Thank you very much Mark. Cheers. Jupiter - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] apache access permission

2012-10-18 Thread jupiter
Thanks Mark. On 10/17/12, Mark Montague wrote: > Also, are you sure you have no home directory for the user "apache"? On > CentOS systems, if you check in the sixth field of the /etc/passwd entry > for user "apache", you should see a home directory of /var/www Yes, you are right. > For the ssh

[users@httpd] apache access permission

2012-10-17 Thread jupiter
Hi, I installed httpd on CentOS 6.2, there is apache user name, but there is no apache home directory. I have php files which need to access an ssh key for ssh communication, but the ssh key is "-rw---" permission which deny apache to access it. How do you handle apache access permission? Shou