Hi,
Been struggling with setting up web server on my CentOS 5.5 install on a VirtualBox VM. to serve up django for a while - having limited success adn would appreciate any help I can get. I followed the sets at
http://www.freshblurbs.com/tutorial-...1-1-centos-5-4. But the website did not materialize.
Now, after futzing around with it for over 3 days, I think I am close.
I have apache, python and django all set up and ready to do.
However, when I try to start up my httpd service it fails..
My server name (on my home network) is Io.
Here is what I have now:
/etc/httpd/conf.d/io.conf
-------
<VirtualHost *:80>
ServerName io
ErrorLog /opt/web/django/iproj/logs/error_log
CustomLog /opt/web/django/iproj/logs/access_log combined
UseCanonicalName Off
Alias /admin_media /opt/python2.6/lib/python2.6/site-packages/django/contrib/admin/media
Alias /static /opt/web/django/iproj/static
WSGIScriptAlias / /opt/web/django/iproj.wsgi
#WSGIDaemonProcess iproj processes=7 threads=1 user=apache group=apache
#WSGIDaemonProcess iproj processes=7 threads=1 display-name=%{GROUP}
</VirtualHost>
---------
The last two line - WSGIDaemon... are commeneted out because I have a the following in my httpd.conf:
LoadModule wsgi_module modules/mod_wsgi.so
When i try to start the httpd service all I get is:
service httpd start
Starting httpd: [FAILED]
The log file (/etc/httpd/logs/error_log) shows the following:
(13)Permission denied: httpd: could not open error log file /opt/web/django/iproj/logs/error_log.
Unable to open logs
when I check the error_log file I get the following:
ll /opt/web/django/iproj/error_log
-rw-rw-rw- 1 apache staff 3 Nov 20 15:46 /opt/web/django/iproj/error_log
Any ideas? Help!!!
thanks,
Jas