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 8th April 2007, 19:11
cheros
Guest
 
Posts: n/a
Default Perfect Setup OpenSuSE - how to add program?

Hi,

I've set up a system with the Perfect Setup for OpenSuSE 10.2, and it works entirely as advertised :-)

However, as it's for a mini office, it will also need to run LedgedSMB, a fork of SQL Ledger (an accounting package). It's installed in /usr/local/ledger-smb and the directory has been set to have the same user as the webserver (chown -R wwwrun:www{directory}).

After a long battle I have all the perl modules loaded the machine needs, PostgreSQL has created what it need to run - but it doesn't.

Attempting to access http://myhost/ledger-smb/index.html results in a 403 (access forbidden), and the log file states:


==> /var/log/apache2/error_log <==
[Sun Apr 08 18:01:27 2007] [error] [client 192.168.1.20] client denied by server configuration: /usr/local/ledger-smb/


I have an include file that adds (AFAIK) the right knowledge to apache (after it restarted), repeated below, but with no noticeable effect. Anyone? Could this be something that the ISPconfig package does?


Alias /ledger-smb /usr/local/ledger-smb

<Directory WORKING_DIR>
AllowOverride All
AddHandler cgi-script .pl
Options ExecCGI Includes FollowSymlinks
Order Allow,Deny
Allow from All
<Files ~ "\.conf$">
Order Deny,Allow
Deny from All
</Files>
</Directory>
Reply With Quote
Sponsored Links
  #2  
Old 9th April 2007, 18:12
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Quote:
Originally Posted by cheros


Alias /ledger-smb /usr/local/ledger-smb

<Directory WORKING_DIR>
AllowOverride All
AddHandler cgi-script .pl
Options ExecCGI Includes FollowSymlinks
Order Allow,Deny
Allow from All
<Files ~ "\.conf$">
Order Deny,Allow
Deny from All
</Files>
</Directory>
Where did you add this? In a vhost created by ISPConfig, or in the main Apache configuration?
__________________
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
  #3  
Old 9th April 2007, 18:50
cheros
Guest
 
Posts: n/a
 
Default Via an 'include' directive in the main Apache httpd.conf

I'd actually given up on the idea. I've just built a box with Fedora Core 6 which will first get the accounting system on (as that is what I absolutely need), then I'll change it step by step towards accepting ISPconfig and see if/where it breaks (naturally using your superb 'Perfect' guides although you named the FC6 one differently :-)). IMHO they're a great series and deserve their own short link..

I had a brief look at Ubuntu server but I think for this purpose FC6 is fine (don't have the time to figure out where the controls are, maybe for another day).

The challenge is that it needs both a 'regular' webservice with aliased subdirectories as described AND what ISPconfig offers (but smaller scale). The aliased stuff may need to be moved to a different port (or maybe taken off the machine afterwards) but we need to start testing now or we'll run behind..

Lets' see where we get with LedgerSMB first - I'm no accountant but from a code perspective it seems to enjoy pretty vigorous attention and updates by the developers - IMHO always a good sign for a FOSS project..

Cheers - CH
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
Perfect Setup for Fedora 6? cheros HOWTO-Related Questions 2 4th July 2007 05:45
Perfect Setup OpenSuse 10.2 domain forwarding nothing111111 General 2 4th April 2007 14:27
The Perfect Setup - OpenSuSE 10.2 wvsailor HOWTO-Related Questions 6 30th January 2007 12:58
add postfix domains when after Perfect SuSE 10.1 setup Miegel HOWTO-Related Questions 1 29th July 2006 14:21
Debian perfect setup network problem reddogg Installation/Configuration 2 18th January 2006 23:04


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


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