Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #61  
Old 1st October 2008, 03:36
bgstratt bgstratt is offline
Junior Member
 
Join Date: Oct 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Talking mod_python turning on Directory Listings

I recently upgraded servers and ISPConfig on an ubuntu machine following the perfect server setup, but whenever I check the box to activate python, through mod_python for my site it adds this to the Vhosts_ispconfig.conf

Code:
<IfModule mod_python.c>
<Directory /var/www/web1/web>
Options +Indexes +FollowSymLinks +MultiViews
 ...
</IfModule>
turning on the directory listings throughout the site.

I can get around it by unchecking python and putting this in the Apache Directives (optional) comment field.

Code:
<IfModule mod_python.c>
 <Directory /var/www/web1/web>
   Options -Indexes +FollowSymLinks +MultiViews
   ...
</IfModule>
but I think that defeats the purpose if I can just add the directives to make python work...

No worries for me though since it is just my stuff on my server

Also using eruby for .rhtml docs has to be done through the Apache Directives also, I dunno how important that is to people though, I kept editing Vhosts_ispconfig.conf just to have it be overwritten, I thought it was automatic, but I couldn't remember, lol.

Tomcat is a whole other story though, but that conversation doesn't belong here.

Just so I'm not saying all bad things, ispconfig is awesome, and so are the walkthroughs from howtoforge.

EDIT: I guess I can only add those directives from the administrator login, so that does make sense.

Last edited by bgstratt; 1st October 2008 at 03:44.
Reply With Quote
Sponsored Links
  #62  
Old 1st October 2008, 10:16
radim_h radim_h is offline
Senior Member
 
Join Date: Jan 2007
Location: Prague, Czech
Posts: 420
Thanks: 33
Thanked 24 Times in 19 Posts
Send a message via ICQ to radim_h
Default

Quote:
Originally Posted by till View Post
No. Edit the directives that you entered into the apache directives field in ISPConfig.
Thanks!
it is writing config changes into Vhosts_ispconfig.conf
But ISPC is not creating the old files named with date-time as
Vhosts_ispconfig.conf_30-09-08_13-18-17
anymore.. ??
Reply With Quote
  #63  
Old 1st October 2008, 10:24
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,395
Thanks: 833
Thanked 5,492 Times in 4,323 Posts
Default

Quote:
it is writing config changes into Vhosts_ispconfig.conf
But ISPC is not creating the old files named with date-time as
Vhosts_ispconfig.conf_30-09-08_13-18-17
anymore.. ??
Ok, then ist working correctly again. The files with date appaneded are error files aand they are not craeted in case that the update worked.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
radim_h (1st October 2008)
  #64  
Old 3rd October 2008, 00:08
radim_h radim_h is offline
Senior Member
 
Join Date: Jan 2007
Location: Prague, Czech
Posts: 420
Thanks: 33
Thanked 24 Times in 19 Posts
Send a message via ICQ to radim_h
 
Default Firewall update problem Fixed in 2.2.26

Quote:
Originally Posted by radim_h View Post
this time firewall was turned on , IMAP access died instantly, last time also www (i'm running ISPconfig on port 80&443 on separate IP) and SSH died, so i have usualy restart the server with remote console and pray that www will work (it does) then turnfirewall off again...
I don't see any patern in this behavior its strange

web1:/# iptables -L
Chain INPUT (policy DROP)
target prot opt source destination
DROP tcp -- anywhere localdomain/8
ACCEPT 0 -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT 0 -- anywhere anywhere
DROP 0 -- BASE-ADDRESS.MCAST.NET/4 anywhere
PUB_IN 0 -- anywhere anywhere
PUB_IN 0 -- anywhere anywhere
PUB_IN 0 -- anywhere anywhere
PUB_IN 0 -- anywhere anywhere
DROP 0 -- anywhere anywhere

Chain FORWARD (policy DROP)
target prot opt source destination
ACCEPT 0 -- anywhere anywhere state RELATED,ESTABLISHED
DROP 0 -- anywhere anywhere

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
PUB_OUT 0 -- anywhere anywhere
PUB_OUT 0 -- anywhere anywhere
PUB_OUT 0 -- anywhere anywhere
PUB_OUT 0 -- anywhere anywhere

Chain INT_IN (0 references)
target prot opt source destination
ACCEPT icmp -- anywhere anywhere
DROP 0 -- anywhere anywhere

Chain INT_OUT (0 references)
target prot opt source destination
ACCEPT icmp -- anywhere anywhere
ACCEPT 0 -- anywhere anywhere

Chain PAROLE (9 references)
target prot opt source destination
ACCEPT 0 -- anywhere anywhere

Chain PUB_IN (4 references)
target prot opt source destination
ACCEPT icmp -- anywhere anywhere icmp destination-unreachable
ACCEPT icmp -- anywhere anywhere icmp echo-reply
ACCEPT icmp -- anywhere anywhere icmp time-exceeded
ACCEPT icmp -- anywhere anywhere icmp echo-request
PAROLE tcp -- anywhere anywhere tcp dpt:ftp
PAROLE tcp -- anywhere anywhere tcp dpt:ssh
PAROLE tcp -- anywhere anywhere tcp dpt:smtp
PAROLE tcp -- anywhere anywhere tcp dpt:domain
PAROLE tcp -- anywhere anywhere tcp dpt:www
PAROLE tcp -- anywhere anywhere tcp dpt:81
PAROLE tcp -- anywhere anywhere tcp dptop3
PAROLE tcp -- anywhere anywhere tcp dpt:https
PAROLE tcp -- anywhere anywhere tcp dpt:webmin
ACCEPT udp -- anywhere anywhere udp dpt:domain
DROP icmp -- anywhere anywhere
DROP 0 -- anywhere anywhere

Chain PUB_OUT (4 references)
target prot opt source destination
ACCEPT 0 -- anywhere anywhere
Installation of version 2.2.26 has fixed it...
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
ISPConfig 3.0.0.6 Beta released till General 38 21st September 2008 19:15
phpMyAdmin 2.11.8 package released for ISPConfig 2 Hans General 2 29th July 2008 07:23
ISPConfig 2.3.3-dev released till General 10 12th March 2008 21:08
ISPConfig 2.2.20 released till General 31 13th February 2008 16:17
fastcgi and php with ispconfig tosser Tips/Tricks/Mods 3 25th June 2006 21:01


All times are GMT +2. The time now is 10:07.


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