Configuring from web interface shows code

Dr. Frank Bucolo dr.bucolo at total1.net
Fri Aug 30 09:22:54 PDT 2002


Freeside looks like a great system and I belive am close to getting it
up.
Followed all instructions, installed modules and db (pg)  OK !

Went to the opening page and 
I used the config stated in the instructions and the web interface 
at http://server/freeside when I click on configuration or do any
function 
I just get the text of that cgi script.

ie:  http://server/freeside/config/config-view.cgi
===========================
<!-- mason kludge -->
<%= header('View Configuration', menubar( 'Main Menu' => $p,
                                     'Edit Configuration' =>
'config.cgi' ) ) %>

<% my $conf = new FS::Conf; my @config_items = $conf->config_items; %>
...
===========================
is the result of that link!

		httpd configuration:
User freeside

###FREESIDE CONFIGURATION   BEGIN
<Directory /var/www/html/freeside-asp>
PerlSetVar Global /usr/local/etc/freeside/asp-global/
AuthName Freeside
AuthType Basic
AuthUserFile /usr/local/etc/freeside/htpasswd
require valid-user
</Directory>

<Directory /var/www/html/freeside/>
Options +FollowSymLinks +ExecCGI
#Options All
AllowOverride All
AuthName Freeside
AuthType Basic
AuthUserFile /usr/local/etc/freeside/htpasswd
require valid-user
</Directory>
###FREESIDE CONFIGURATION   END

	I tried to add the following with no luck:

<Directory /var/www/html/freeside/>
Options +FollowSymLinks +ExecCGI
#Options All
AllowOverride All
AuthName Freeside
AuthType Basic
AuthUserFile /usr/local/etc/freeside/htpasswd
require valid-user
</Directory>

<Directory /var/www/html/freeside/search>
Options ExecCGI All
</Directory>

I had the permissions originally to root:root and chown to freeside, no
luck

# ls -all /var/www/html/freeside/search
total 220
drwxr-xr-x    2 freeside root         4096 Aug 29 22:19 .
drwxr-xr-x   10 root     root         4096 Aug 20 16:50 ..
-r-xr-xr-x    1 freeside root         5254 Aug 20 02:17 cust_bill.cgi
-rwxr-xr-x    1 freeside root         1952 Aug 20 02:17
cust_bill_event.cgi
-rwxr-xr-x    1 freeside root          467 Aug 20 02:17
cust_bill_event.html
-r-xr-xr-x    1 freeside root          354 Aug 20 02:17 cust_bill.html
-r-xr-xr-x    1 freeside root        20659 Aug 20 02:17 cust_main.cgi
... etc
#ls -all /var/www/html/freeside/config
total 24
drwxr-xr-x    2 root     root         4096 Aug 20 01:48 .
drwxr-xr-x   10 root     root         4096 Aug 20 16:50 ..
-rwxr-xr-x    1 freeside root         7977 Aug 20 02:16 config.cgi
-rwxr-xr-x    1 freeside root         1566 Aug 20 02:16
config-process.cgi
-rwxr-xr-x    1 freeside root         2551 Aug 20 02:16 config-view.cgi

asp-global was only readable, made it executable  ...  no help
-r--r--r--    1 freeside freeside     2035 Aug 20 02:20 global.asa
# ls -all /usr/local/etc/freeside/asp-global
total 12
drwxr-xr-x    2 freeside root         4096 Aug 20 02:20 .
drwxr-xr-x    7 freeside root         4096 Aug 20 16:49 ..
-rwxr-xr-x    1 freeside freeside     2035 Aug 20 02:20 global.asa
#

freeside-version--1.4.0  
Apache::ASP   ==>  Apache-ASP-2.37.tar.gz
RedHat v7.3   
perl, v5.6.1
apache-1.3.23-14
postgresql-7.2.1-5
IE 5.5 and 6.0  NS 6.2 browsers used.

HTML MASON is NOT  Installed  only  Apache::ASP !

webserver error_log does not show any error !!
I hope this is obvious to someone !  Thank you all.
=Frank=



More information about the freeside-users mailing list