Apache module config

4 posts / 0 new
Last post
#1 Sat, 03/07/2009 - 08:17
synergos

Apache module config

Hi All,

I have installed an Apache module called WebDNA. It creates directories as follows:

/var/www/html/WebCatalog /var/www/cgi-bin/WebCatalogEngine/

Both directories are apache user and group.

The config file is /var/www/cgi-bin/WebCatalogEngine/webdna.conf

In Webmin/Servers/Apache Webserver/Global Configuration/ I can edit thedirectives of webdna.conf:

LoadModule webcatalog2_module /var/www/cgi-bin//WebCatalogEngine/mod_WebDNA_apache2.2.so

AddModule mod_webcatalog.cpp START WEBCATALOG ADDITIONS ALL TEXT BETWEEN THESE LINES WILL BE REMOVED WHEN WEBCATALOG IS UNINSTALLED

#

WebCatalog directives

<Location ~ "/..db($|.\?)"> deny from all </Location>

<Location ~ "/..hdr($|.\?)"> deny from all </Location>

<Location ~ "/.*/WebCatalog($| Prefs|Ctl)"> deny from all </Location>

<Location ~ "/.*/WebMerchant/CompletedOrders"> deny from all </Location>

<Location ~ "/.*/WebMerchant/Problems"> deny from all </Location>

<Location ~ "/.*/WebMerchant/Pending"> deny from all </Location>

<Location ~ "/.*/WebMerchant/StockRoom"> deny from all </Location>

<Location ~ "/.*/Orders"> deny from all </Location>

<Location ~ "/.*/ShoppingCarts"> deny from all </Location>

<Location ~ "/[Ww]eb[Cc]atalog/ErrorLog($|.txt)"> deny from all </Location>

<IfModule mime_module> AddType text/html .tpl .dna .newsuffix </IfModule>

AddHandler webcatalog2-handler .tpl .tmpl .html .htm .dna

ALL TEXT BETWEEN THESE LINES WILL BE REMOVED WHEN WEBCATALOG IS UNINSTALLED \ END WEBCATALOG ADDITIONS

System is CentOS Linux 5.2, Virtualmin 3.66 Pro, Linux 2.6.24-22-xen on x86_64

When I hit the URL http://www.squirtyvision.com/ I get the error:

WebDNA is not configured to accept requests to host: www.squirtyvision.com

On my older Apache 1.3 system the installer added an Include to the http.conf pointing to the webdna.conf. Is this required in Apache 2.2.3, even though it seems to already have the directives in the server module?

-Jeff<br><br>Post edited by: synergos, at: 2009/03/07 08:18

Sat, 03/07/2009 - 10:54
Joe
Joe's picture

This might be better asked of the developers of &quot;WebDNA&quot;. I've never used it or heard of it...so I don't know how it works. ;-)

But, maybe somebody here has seen/used it. I dunno.

It sounds like the directives are being included, though, since Webmin can see them. You might check for errors in the error_log, as well.

--

Check out the forum guidelines!

Sat, 03/07/2009 - 14:34
synergos

Thanks Joe,

I've already asked for help in the WebDNA forum. No one awake this weekend, so thought I'd run it past you. I'm surprised you have not heard of it. I have been using it since 1995, v 1.0. The install I attempted is the current beta v 6.1b04, so there may be a bug in the install script.

I was thinking there might be some virtual host directive that could be added to my server template to solve the problem. I'll let you know if I figure it out.

-Jeff

Sat, 03/07/2009 - 15:03 (Reply to #3)
Joe
Joe's picture

You might need a specific path, rather than the ~ version, since each virtual server has its own Location, Directory, etc. sections. But, I'm just wild guessing here. Not really even knowledgeable guessing. ;-)

--

Check out the forum guidelines!

Topic locked