Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 3rd May 2011, 13:35
j.smith1981 j.smith1981 is offline
Member
 
Join Date: Nov 2008
Posts: 63
Thanks: 0
Thanked 3 Times in 3 Posts
Question iRedAdmin0.1.4 Virtual Host problem, please help

I am confused as to why my browser keeps bringing up an error of:

Quote:
500 Internal Server Error
My Virtual host file /etc/httpd/conf.d/virtualhost.conf looks like so:

Quote:
#
# Note: Uncomment below two lines if you want to make iRedAdmin accessable via HTTP.
#
#WSGIScriptAlias /iredadmin /var/www/iredadmin/iredadmin.py/
#Alias /iredadmin/static /var/www/iredadmin/static/

WSGISocketPrefix /var/run/wsgi
WSGIDaemonProcess iredadmin user=iredadmin threads=15
WSGIProcessGroup iredadmin

AddType text/html .py

<VirtualHost *:80>
ServerAdmin webmaster@mydomain.com
DocumentRoot /www/mydomain.com/html
ServerName www.mydomain.com

<Directory "/www/mydomain.com/html">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>

WSGIScriptAlias /iredadmin "/var/www/iRedAdmin-0.1.4/iredadmin.py"
Alias /iredadmin/static "/var/www/iRedAdmin-0.1.4/static"

AddType text/html .py

<Directory /var/www/iRedAdmin-0.1.4/>
Options All
Order deny,allow
Allow from all
</Directory>

DeflateCompressionLevel 3
AddOutputFilter DEFLATE html xml php js css
<Location />
SetOutputFilter DEFLATE
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary
SetEnvIfNoCase Request_URI .(?:exe|t?gz|zip|bz2|sit|rar)$ no-gzip dont-vary
SetEnvIfNoCase Request_URI .(?df|mov|avi|mp3|mp4|rm)$ no-gzip dont-vary
#Header append Vary User-Agent env=!dont-vary
</Location>
</VirtualHost>
Why is it bringing up the error?

I have disabled sysmbolic links though in my apache server, as I have been told many times for security reasons they should be disabled!

It must be possible to do this without bringing up this error firstly and allowing the directory to be available without sym links!
Reply With Quote
Sponsored Links
  #2  
Old 4th May 2011, 10:00
j.smith1981 j.smith1981 is offline
Member
 
Join Date: Nov 2008
Posts: 63
Thanks: 0
Thanked 3 Times in 3 Posts
 
Default

Ah no it was because of mod_python being installed, is there anyway of getting these 2 to work together or not at all?
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
postfix problems with smtp linkdeb Server Operation 13 15th March 2014 17:58
mail.err warnings and some mail unable to receive HellMind General 4 8th October 2010 19:57
Need some Hints to "The Perfect Server - Debian Lenny (Debian 5.0) [ISPConfig 3]" wahid HOWTO-Related Questions 10 25th August 2010 15:18
Virtual Host Server Polk Installation/Configuration 2 25th August 2010 04:14
Weird problem when sending email from a PHP form. edge Installation/Configuration 5 5th September 2006 16:57


All times are GMT +2. The time now is 06:16.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.