On 10/20/10 4:57 PM, Devin Asay wrote:
Phil,

It seems clear that the config file isn't quite right, and that the revServer 
engine isn't being launched. Where are your revServer files installed,

/Library/WebServer/CGI-Executables
I copied all the files from the 'revserver' folder into the 'CGI-Executables' folder - without the enclosing 'revserver' folder.

... and can you post the mods you made to your httpd.conf file?

My mods were applied to the /private/etc/apache2/httpd.conf file, and each changed line has a '## PD 201010xx' tag on the end of it.

First, for the record:
DocumentRoot "/Library/WebServer/Documents"

Note - I tried adding some directives in an .htaccess file inside this directory but since removed the file.


--- Now the first set of changes ---------------------------------------------

<Directory "/Library/WebServer/Documents">
    AddHandler irev-script .irev  ## PD 20101018 added
    Action irev-script /cgi-bin/revserver  ## PD 20101018 added
Options Indexes FollowSymLinks MultiViews ExecCGI ## PD 20101018 added 'ExecCGI' AllowOverride All ## PD 20101018 replaced 'None' with 'All' for .htaccess overrides

    #
    # Controls who can get stuff from this server.
    #
    Order allow,deny
    Allow from all

</Directory>

--- Second set of changes -----------------------------------------------------

<IfModule alias_module>
    #
ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) "/Library/WebServer/CGI-Executables/$1"

ScriptAlias /cgi-bin/revserver /Library/WebServer/CGI-Executables/revserver ## PD 20101020 added

</IfModule>

--- Third set of changes -------------------------------------------------------

<IfModule mime_module>
    #
    # TypesConfig points to the file containing the list of mappings from
    # filename extension to MIME-type.
    #
    TypesConfig /private/etc/apache2/mime.types

   AddType application/x-compress .Z
    AddType application/x-gzip .gz .tgz

    # For type maps (negotiated resources):
    #AddHandler type-map var

    AddHandler irev-script .irev  ##  PD 20101020 added
    Action irev-script /cgi-bin/revserver  ##  PD 20101020 added

    #AddType text/html .shtml
    #AddOutputFilter INCLUDES .shtml
</IfModule>

Also, which OS version are you running?

10.5.8 Build 9L30 - not OS X server.



Devin

On Oct 20, 2010, at 5:19 PM, Phil Davis wrote:

Hey folks -

I'm trying to figure out where I'm going wrong as I try to get revServer going
on my Mac Mini. I have followed all the advice (I think) in the great emails
from Devin Asay and Mike Bonner from July 20 and I see my test.irev page being
served but without the<?rev ... ?>  stuff being preprocessed - in fact the HTML
isn't rendered as HTML either; it all comes into my browser window as text.

Any clues?

Yes, I'm restarting apache after making each carefully-commented-so-I
can-back-out change to httpd.conf. My apache logs don't show anything unusual.

My outcomes don't seem any different whether the revserver filess are owned by
nobody:wheel or phil:admin.

Thanks for any ideas.
--
Phil Davis

PDS Labs
Professional Software Development
http://pdslabs.net

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Thanks Devin.
--
Phil Davis

PDS Labs
Professional Software Development
http://pdslabs.net

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to