Showing posts with label apache. Show all posts
Showing posts with label apache. Show all posts

Wednesday, February 29, 2012

RhodeCode - Awesome Mercurial Management Tool (Including User Management)

Apache Configuration



    ServerName yourservername
    ErrorLog /var/log/httpd/namedserver-error_log
    CustomLog /var/log/httpd/namedserver-access_log common
    WSGIDaemonProcess pylons user=apache group=root processes=1 \
    threads=4 \
    python-path=/usr/lib/python2.6/site-packages/
    WSGIScriptAlias / /var/www/vhosts/servername/rhodecodewsgi/dispatch.wsgi
    WSGIPassAuthorization On


Ldap Configuration:

User Management:


General Usage Process:

Friday, December 31, 2010

Apache Error PHPMotion The requested URL /upload-media was not found on this server

When you setup PHPMotion video website you will encounter the following error first,

The requested URL /upload-media was not found on this server.

It happens due to the error in Apache Config. Add the following Directory Element to the config file.

<Directory "/var/www/htdocs/htdocs">

Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all

</Directory>



The above directory entry assumes that you have installed phpmotion in /var/www/htdocs/htdocs.

It all happens since .htaccess is denied to run from those directories.

Thursday, December 16, 2010

Worked in Command Line but not through Apache

If something works locally and if that is not working through Apache or outside of the box in a linux system. It cab be of two problems.

1. iptables
2. selinux


With iptables, mostly outgoing connection will not be a problem if the NAT is set properly.
SELinux works on top of it.

setsebool -P httpd_can_network_connect=1

Will all outside the box connectivity with Apache or any other resources.