Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #21  
Old 23rd October 2008, 17:29
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Can you post it directly here? That makes it easier for us than downloading and unpacking an archive.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Sponsored Links
  #22  
Old 23rd October 2008, 17:42
gamera gamera is offline
Junior Member
 
Join Date: Oct 2008
Posts: 20
Thanks: 1
Thanked 0 Times in 0 Posts
Default

###################################
#
# ISPConfig vHost Configuration File
# Version 1.0
#
###################################
#
NameVirtualHost 192.168.1.30:80
<VirtualHost 192.168.1.30:80>
ServerName localhost
ServerAdmin root@localhost
DocumentRoot /var/www/sharedip
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* - [F]
</IfModule>
</VirtualHost>
#
#
######################################
# Vhost: www.mythicalsystems.com:80
######################################
#
#
<VirtualHost 192.168.1.30:80>
<Directory /var/www/web7/web>
AllowOverride All
</Directory>
ServerName www.mythicalsystems.com:80
ServerAdmin webmaster@mythicalsystems.com
DocumentRoot /var/www/web7/web
ServerAlias mythicalsystems.com
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm
Alias /cgi-bin/ /var/www/web7/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /var/www/web7/log/error.log
AddType application/x-httpd-php .php .php3 .php4 .php5
<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php3>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php4>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php5>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
php_admin_flag safe_mode On
php_admin_value open_basedir /var/www/web7/
php_admin_value file_uploads 1
php_admin_value upload_tmp_dir /var/www/web7/phptmp/
php_admin_value session.save_path /var/www/web7/phptmp/
<IfModule mod_ruby.c>
<Directory /var/www/web7/web>
Options +ExecCGI
</Directory>
RubyRequire apache/ruby-run
#RubySafeLevel 0
<Files *.rb>
SetHandler ruby-object
RubyHandler Apache::RubyRun.instance
</Files>
<Files *.rbx>
SetHandler ruby-object
RubyHandler Apache::RubyRun.instance
</Files>
</IfModule>
<IfModule mod_python.c>
<Directory /var/www/web7/web>
Options +Indexes +FollowSymLinks +MultiViews
AllowOverride Indexes AuthConfig Limit FileInfo
Order allow,deny
allow from all
AddHandler mod_python .py
PythonHandler mod_python.publisher
PythonDebug On
</Directory>
</IfModule>
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
Alias /error/ "/var/www/web7/web/error/"
ErrorDocument 400 /error/invalidSyntax.html
ErrorDocument 401 /error/authorizationRequired.html
ErrorDocument 403 /error/forbidden.html
ErrorDocument 404 /error/fileNotFound.html
ErrorDocument 405 /error/methodNotAllowed.html
ErrorDocument 500 /error/internalServerError.html
ErrorDocument 503 /error/overloaded.html
AliasMatch ^/~([^/]+)(/(.*))? /var/www/web7/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web7/user/$1/web/$3
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* - [F]
</IfModule>
</VirtualHost>
#
#
#
Reply With Quote
  #23  
Old 24th October 2008, 21:57
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Does your .htaccess work if you disable Python for web7?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
gamera (25th October 2008)
  #24  
Old 25th October 2008, 00:28
gamera gamera is offline
Junior Member
 
Join Date: Oct 2008
Posts: 20
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Turning python off definitely worked!

Question is whether or not I will be needing python later on...

A thousand thanks.
Reply With Quote
  #25  
Old 25th October 2008, 12:53
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Ok, then the problem was in
Code:
<IfModule mod_python.c>
<Directory /var/www/web7/web>
Options +Indexes +FollowSymLinks +MultiViews
AllowOverride Indexes AuthConfig Limit FileInfo
Order allow,deny
allow from all
AddHandler mod_python .py
PythonHandler mod_python.publisher
PythonDebug On
</Directory>
</IfModule>
I should probably change
Code:
AllowOverride Indexes AuthConfig Limit FileInfo
to
Code:
AllowOverride all
I've added this to our bugtracker.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
happz (17th November 2008)
  #26  
Old 15th January 2010, 17:25
public_domain public_domain is offline
Junior Member
 
Join Date: Dec 2007
Location: seattle washington
Posts: 20
Thanks: 0
Thanked 1 Time in 1 Post
Exclamation ispconfig .htaccess 500

***URGENT*** yep! same problem. and its the ONLY problem we have. the htaccess works with Order-Deny-Allow but NOT with the other really "NEEDFUL THINGS" - pun intended! please post what the solution is ASAP. recently using Version: 2.2.33 and it does seem that this happened since that time.
Reply With Quote
  #27  
Old 15th January 2010, 21:03
comptcarlik comptcarlik is offline
Junior Member
 
Join Date: Aug 2008
Posts: 10
Thanks: 2
Thanked 0 Times in 0 Posts
Default

i personally use php login script to protect the folder . that's what i figured out to get the server operating on time
Reply With Quote
  #28  
Old 16th January 2010, 02:03
public_domain public_domain is offline
Junior Member
 
Join Date: Dec 2007
Location: seattle washington
Posts: 20
Thanks: 0
Thanked 1 Time in 1 Post
Smile ispconfig .htaccess 500

**update**
for whatever reason, placing ..
<Directory "/var/www/webdir#/web/">
AllowOverride All
</Directory>
into the Apache Directives (Optional): was saving but NOT TAKING!! assing the line to the vhost file alone was not enough. i had to both place this into the Apache Directives (Optional) AND manually add the lines!! now it works.
using ISPCONFIG Version: 2.2.33
if there is anything you would like me to do to assist in t-shooting this. please let me know.
Reply With Quote
  #29  
Old 16th January 2010, 02:25
public_domain public_domain is offline
Junior Member
 
Join Date: Dec 2007
Location: seattle washington
Posts: 20
Thanks: 0
Thanked 1 Time in 1 Post
Question ispconfig V2.2.33 .htaccess 500

*update*
now that i have it working, i am doing some tshooting. discovered that the perms on /etc/httpd... all root/root! & 07##. i dont recall looking at this particular directory before but i am pretty sure it should have a better user/write settings like admsipconfig/??? 077#. if this doesnt solve it i will look more.
Reply With Quote
  #30  
Old 16th January 2010, 05:50
public_domain public_domain is offline
Junior Member
 
Join Date: Dec 2007
Location: seattle washington
Posts: 20
Thanks: 0
Thanked 1 Time in 1 Post
 
Smile ispconfig V2.2.33 .htaccess 500

*update*
made the permissions on directory /etc/httpd/conf/ to 2775. user=admispconfig group={withheld}. again- if there is anything i can do to assist, let me know. thank you.
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
Upload ins't working good in ispconfig on ubuntu 6.06 djmostek Installation/Configuration 11 24th August 2007 23:14
vhost not working on ISPConfig 2.2.13 tannnk Installation/Configuration 2 22nd June 2007 15:31
fastcgi and php with ispconfig tosser Tips/Tricks/Mods 3 25th June 2006 22:01
FC4 Setup DNS and ISPCONFIG issues The General Installation/Configuration 7 15th May 2006 10:45
ISPconfig not working Venkatesh.S Installation/Configuration 2 28th July 2005 14:28


All times are GMT +2. The time now is 17:03.


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