[BULK] Re: [WebDNA] Snow Leopard Server install problems

This WebDNA talk-list message is from

2010


It keeps the original formatting.
numero = 105410
interpreted = N
texte = --Apple-Mail-3-678728851 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Although I do not have the direct answer; I do have the following = question (sorry about hijacking the thread). Why is this not done by the installer? Palle On 25/06/2010, at 17.30, WebAdmin wrote: > Greetings, all. >=20 > I am struggling to get WebDNA running on OS X Snow Leopard Server = 10.6.3 and 10.6.4. Here is correspondence between me and Christophe = Billiottet. If any Snow Leopard Server users can shed some light on how = to get this running (other than what I've tried, below), I would = appreciate it. >=20 > thx. >=20 > > > On Jun 23, 2010, at 17:34, wrote: > > >=20 > > > > Hello Christophe, > > > >=20 > > > > I downloaded your Mac installer today for use on a new Snow = Leopard Server, and though the installation succeeds in that WebCat is = running, it fails in that Apache gives an "Object Not Found" when going = to http://127.0.0.1/webcatalog > > > >=20 > > > > I noted that there was no apache module installed for WebCat = when looking at Apache modules in Server Admin. I tried adding it and = enabling it, but that blocked all pages from being served (snow = leopard's wikis for example). > > > >=20 > > > > Is there an installer that has been tested on Snow Leopard = Server? I am hoping so. Or, what steps do I need to take to get this = working? > > > >=20 > > > > Thanks. > > > >=20 >=20 >=20 >=20 > from Christophe: >=20 > > >=20 > > > Hi ! > > >=20 > > > For Snow Leopard server, you should just add this line in = httpd.conf: > > >=20 > > >=20 > > > ScriptAlias /cgi-bin "/Library/WebServer/CGI-Executables" > > >=20 > > > then restart apache: sudo apachectl restart > > > and webdna: = /Library/WebServer/CGI-Executables/WebCatalogEngine/WebCatalogCtl = restart > > >=20 > > > It should work without anything else. The problem is Snow Leopard = server removed this line and WebDNA admin is trying to reach = http://yourdomain/cgi-bin/WebCatalogEngine/Admin/AdminPrefs.dna and Snow = Leopard only understands = http://yourdomain/CGI-Executables/WebCatalogEngine/Admin/AdminPrefs.dna > > >=20 > > > - chris > > >=20 >=20 > from me to Chris: >=20 > > On Jun 24, 2010, at 14:50, wrote: > >=20 > > > Thank you for the quick reply. Unfortunately, no luck yet. > > >=20 > > > When I installed it yesterday, I saved the entries I made in the = installer. You'll find them below. > > >=20 > > > I had also entered this line in httpd.conf yesterday, and double = checked it today; it is there. > > >=20 > > > ScriptAlias /cgi-bin "/Library/WebServer/CGI-Executables" > > >=20 > > > Here is the full content of httpd.conf: > > >=20 > > > KeepAliveTimeout 15 > > > # As of Mac OS X Server 10.5, the compiled-in server limit is 2048 > > > ServerLimit 2048 > > > # Server Admin manages ListenBackLog as a function of MaxClients: = min(511, MaxClients/2) > > > MaxClients 1024 > > > ListenBackLog 511 > > > #### > > > #### The following Include directive is essential for the virtual = hosts to be usable. > > > #### > > > Include "/etc/apache2/sites/*.conf" > > > Include = /Library/WebServer/CGI-Executables/WebCatalogEngine/webdna.conf > > > ScriptAlias /cgi-bin "/Library/WebServer/CGI-Executables" > > >=20 > > > After installing yesterday, I looked at the modules tab in web = server admin, and there was not a module for WebDNA (should there have = been?) I added it browsing to the path = /Library/WebServer/CGI-Executables/WebCatalogEngine/mod_WebDNA_apache2.2.s= o I restarted Apache and WebCat, even tried rebooting. No luck. = Does that belong (the installer did not add it). > > >=20 > > > Any other ideas? > > >=20 > > >=20 > > >=20 > > >=20 > > >=20 > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > INSTALL =20 > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > To install the WebDNA into your system, you will need=20 > > > to provide some infomation about your Apache Server. > > > Please be prepared to provide the paths for the following > > > directories:=20 > > > Default Web Server DocumentRoot directory. > > > Default Web Server CGI directory. > > > Apache configuration directory (contains the default httpd.conf = file) > > > Apache user name > > > Enter to accept the defaults > > >=20 > > > Enter the Default Web Server DocumentRoot directory: = =20 > > > ( default is /Library/WebServer/Documents ) > > > /Library/WebServer/Sites > > >=20 > > > Enter the Default Web Server CGI directory: =20 > > > ( default is /Library/WebServer/CGI-Executables ) > > > =20 > > >=20 > > > Enter the Apache configuration directory (contains the default = httpd.conf file): =20 > > > ( default is /etc/apache2 ) > > > =20 > > >=20 > > > Enter the apache user name: =20 > > > ( default is _www ) > > > =20 > > > Installing WebDNA... > > > Using ApacheCtl as: apachectl > > > Installed WebCatalog documents into directory: > > > /Library/WebServer/Sites/WebCatalog =20 > > > Installed WebCatalog into directory > > > /Library/WebServer/CGI-Executables/WebCatalogEngine =20 > > > Modifying httpd.conf > > > Setting Permissions > > > /Library/WebServer/CGI-Executables/WebCatalogEngine/WebCatalogCtl = start: WebDNAMonitor started > > > =20 > > > +-------------------------------------------------------- > > > | You now have successfully installed WebDNA in your =20 > > > | Apache server. =20 > > > | To administer your WebDNA installation, please visit =20 > > > | http://127.0.0.1/WebCatalog =20 > > >=20 > >=20 >=20 >=20 > =46rom Chris: >=20 > >=20 > >=20 > > Hi ! adding ScriptAlias /cgi-bin = "/Library/WebServer/CGI-Executables" should work, we have several users = who came with the same question, and all of them solved the problem with = this line. > >=20 > > There is no need to add the module in the GUI > >=20 > > Are you sure your /WebCatalogEngine is in = /Library/WebServer/CGI-Executables/WebCatalogEngine/ and that your = /WebCatalog folder is in your website root folder? it should be = available to http://127.0.0.1/WebCatalog=20 > >=20 > > - chris > >=20 >=20 > =46rom me to Chris: >=20 > >=20 > > I am in the process of reinstalling OS X SL Server now to set up = RAID, and will try installing WebCat again once I am done. Question: = your installer asks for correct paths to certain things or to accept the = defaults. I changed one thing:=20 > >=20 > > > Enter the Default Web Server DocumentRoot directory: = =20 > > > ( default is /Library/WebServer/Documents ) > > > /Library/WebServer/Sites > >=20 > > because when you use Server Admin to set up a new site, it puts it = in /Library/WebServer/Sites not /Library/WebServer/Documents But, = there is a /Library/WebServer/Documents folder. Could this be my = problem?=20 >=20 > =46rom Chris to me: >=20 > This might be an extra complication, yes: i don't know how OSX server = handles the CGI-BIN folder in this case. Normally, you get your files in = /Library/WebServer/Documents/ and the engine is in = /Library/WebServer/CGI-Executables/WebCatalogEngine/ (outside the server = folder, with a SciptAlias) > Apache loads the engine as a module and every .dna file in = /Library/WebServer/Documents/ is interpreted. >=20 > Logically, it should work with /Library/WebServer/Sites/ but since the = websites might request files in = /Library/WebServer/CGI-Executables/WebCatalogEngine/ (for instance = shopping carts, sandboxes or global files), i don't know how OSX server = will get that these files must be called through different path. I am = sure it will work, but there migh be some slight modifications to do. = Feel free to ask on the talk-list, there are many users with Snow = Leopard server. They could help you better than i can. >=20 > sincerely, > - chris >=20 >=20 >=20 >=20 >=20 >=20 --Apple-Mail-3-678728851 Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=us-ascii
Although I do not have the direct answer; I do have the following question (sorry about hijacking the thread).

Why is this not done by the installer?

Palle


On 25/06/2010, at 17.30, WebAdmin wrote:

Greetings, all.

I am struggling to get WebDNA running on OS X Snow Leopard Server 10.6.3 and 10.6.4.  Here is correspondence between me and Christophe Billiottet.  If any Snow Leopard Server users can shed some light on how to get this running (other than what I've tried, below), I would appreciate it.

thx.

> > On Jun 23, 2010, at 17:34, wrote:
> > 
> > > Hello Christophe,
> > > 
> > > I downloaded your Mac installer today for use on a new Snow Leopard Server, and though the installation succeeds in that WebCat is running, it fails in that Apache gives an "Object Not Found" when going to http://127.0.0.1/webcatalog
> > > 
> > > I noted that there was no apache module installed for WebCat when looking at Apache modules in Server Admin.  I tried adding it and enabling it, but that blocked all pages from being served (snow leopard's wikis for example).
> > > 
> > > Is there an installer that has been tested on Snow Leopard Server?  I am hoping so.  Or, what steps do I need to take to get this working?
> > > 
> > > Thanks.
> > > 



from Christophe:

> > 
> > Hi !
> > 
> > For Snow Leopard server, you should just add this line in httpd.conf:
> > 
> > 
> > ScriptAlias /cgi-bin "/Library/WebServer/CGI-Executables"
> > 
> > then restart apache: sudo apachectl restart
> > and webdna: /Library/WebServer/CGI-Executables/WebCatalogEngine/WebCatalogCtl restart
> > 
> > It should work without anything else. The problem is Snow Leopard server removed this line and WebDNA admin is trying to reach http://yourdomain/cgi-bin/WebCatalogEngine/Admin/AdminPrefs.dna and Snow Leopard only understands http://yourdomain/CGI-Executables/WebCatalogEngine/Admin/AdminPrefs.dna
> > 
> > - chris
> > 

from me to Chris:

> On Jun 24, 2010, at 14:50, wrote:
> > Thank you for the quick reply.  Unfortunately, no luck yet.
> > 
> > When I installed it yesterday, I saved the entries I made in the installer.  You'll find them below.
> > 
> > I had also entered this line in httpd.conf yesterday, and double checked it today; it is there.
> > 
> > ScriptAlias /cgi-bin "/Library/WebServer/CGI-Executables"
> > 
> > Here is the full content of httpd.conf:
> > 
> > KeepAliveTimeout 15
> > # As of Mac OS X Server 10.5, the compiled-in server limit is 2048
> > ServerLimit 2048
> > # Server Admin manages ListenBackLog as a function of MaxClients: min(511, MaxClients/2)
> > MaxClients 1024
> > ListenBackLog 511
> > ####
> > #### The following Include directive is essential for the virtual hosts to be usable.
> > ####
> > Include "/etc/apache2/sites/*.conf"
> > Include /Library/WebServer/CGI-Executables/WebCatalogEngine/webdna.conf
> > ScriptAlias /cgi-bin "/Library/WebServer/CGI-Executables"
> > 
> > After installing yesterday, I looked at the modules tab in web server admin, and there was not a module for WebDNA (should there have been?)  I added it browsing to the path  /Library/WebServer/CGI-Executables/WebCatalogEngine/mod_WebDNA_apache2.2.so    I restarted Apache and WebCat, even tried rebooting.  No luck.  Does that belong (the installer did not add it).
> > 
> > Any other ideas?
> > 
> > 
> > 
> > 
> > 
> > ===========================================================
> >  INSTALL                                                   
> > ===========================================================
> > To install the WebDNA into your system, you will need 
> > to provide some infomation about your Apache Server.
> > Please be prepared to provide the paths for the following
> > directories: 
> >  Default Web Server DocumentRoot directory.
> >  Default Web Server CGI directory.
> >  Apache configuration directory (contains the default httpd.conf file)
> >  Apache user name
> > Enter to accept the defaults
> > 
> >  Enter the Default Web Server DocumentRoot directory:                
> >  ( default is /Library/WebServer/Documents )
> >  /Library/WebServer/Sites
> > 
> >  Enter the Default Web Server CGI directory:                
> >  ( default is /Library/WebServer/CGI-Executables )
> >  
> > 
> >  Enter the Apache configuration directory (contains the default httpd.conf file):             
> >  ( default is /etc/apache2 )
> >  
> > 
> >  Enter the apache user name:             
> >  ( default is _www )
> >  
> > Installing WebDNA...
> > Using ApacheCtl as: apachectl
> >  Installed WebCatalog documents into directory:
> >  /Library/WebServer/Sites/WebCatalog  
> >  Installed WebCatalog into directory
> >  /Library/WebServer/CGI-Executables/WebCatalogEngine  
> > Modifying httpd.conf
> > Setting Permissions
> > /Library/WebServer/CGI-Executables/WebCatalogEngine/WebCatalogCtl start: WebDNAMonitor started
> >  
> >  +--------------------------------------------------------
> >  | You now have successfully installed WebDNA in your     
> >  | Apache server.                                         
> >  | To administer your WebDNA installation, please visit   
> >  | http://127.0.0.1/WebCatalog                            
> > 


From Chris:

> Hi ! adding ScriptAlias /cgi-bin "/Library/WebServer/CGI-Executables" should work, we have several users who came with the same question, and all of them solved the problem with this line.
> There is no need to add the module in the GUI
> Are you sure your /WebCatalogEngine  is in /Library/WebServer/CGI-Executables/WebCatalogEngine/ and that your /WebCatalog folder is in your website root folder? it should be available to http://127.0.0.1/WebCatalog 
> - chris

From me to Chris:

> I am in the process of reinstalling OS X SL Server now to set up RAID, and will try installing WebCat again once I am done.  Question:  your installer asks for correct paths to certain things or to accept the defaults.  I changed one thing: 
> >  Enter the Default Web Server DocumentRoot directory:                
> >  ( default is /Library/WebServer/Documents )
> >  /Library/WebServer/Sites
> because when you use Server Admin to set up a new site, it puts it in /Library/WebServer/Sites   not    /Library/WebServer/Documents  But, there is a /Library/WebServer/Documents folder.  Could this be my problem? 

From Chris to me:

This might be an extra complication, yes: i don't know how OSX server handles the CGI-BIN folder in this case. Normally, you get your files in /Library/WebServer/Documents/ and the engine is in /Library/WebServer/CGI-Executables/WebCatalogEngine/ (outside the server folder, with a SciptAlias)
Apache loads the engine as a module and every .dna file in /Library/WebServer/Documents/ is interpreted.

Logically, it should work with /Library/WebServer/Sites/ but since the websites might request files in /Library/WebServer/CGI-Executables/WebCatalogEngine/ (for instance shopping carts, sandboxes or global files), i don't know how OSX server will get that these files must be called through  different path. I am sure it will work, but there migh be some slight modifications to do. Feel free to ask on the talk-list, there are many users with Snow Leopard server. They could help you better than i can.

sincerely,
- chris







--Apple-Mail-3-678728851-- Associated Messages, from the most recent to the oldest:

    
--Apple-Mail-3-678728851 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Although I do not have the direct answer; I do have the following = question (sorry about hijacking the thread). Why is this not done by the installer? Palle On 25/06/2010, at 17.30, WebAdmin wrote: > Greetings, all. >=20 > I am struggling to get WebDNA running on OS X Snow Leopard Server = 10.6.3 and 10.6.4. Here is correspondence between me and Christophe = Billiottet. If any Snow Leopard Server users can shed some light on how = to get this running (other than what I've tried, below), I would = appreciate it. >=20 > thx. >=20 > > > On Jun 23, 2010, at 17:34, wrote: > > >=20 > > > > Hello Christophe, > > > >=20 > > > > I downloaded your Mac installer today for use on a new Snow = Leopard Server, and though the installation succeeds in that WebCat is = running, it fails in that Apache gives an "Object Not Found" when going = to http://127.0.0.1/webcatalog > > > >=20 > > > > I noted that there was no apache module installed for WebCat = when looking at Apache modules in Server Admin. I tried adding it and = enabling it, but that blocked all pages from being served (snow = leopard's wikis for example). > > > >=20 > > > > Is there an installer that has been tested on Snow Leopard = Server? I am hoping so. Or, what steps do I need to take to get this = working? > > > >=20 > > > > Thanks. > > > >=20 >=20 >=20 >=20 > from Christophe: >=20 > > >=20 > > > Hi ! > > >=20 > > > For Snow Leopard server, you should just add this line in = httpd.conf: > > >=20 > > >=20 > > > ScriptAlias /cgi-bin "/Library/WebServer/CGI-Executables" > > >=20 > > > then restart apache: sudo apachectl restart > > > and webdna: = /Library/WebServer/CGI-Executables/WebCatalogEngine/WebCatalogCtl = restart > > >=20 > > > It should work without anything else. The problem is Snow Leopard = server removed this line and WebDNA admin is trying to reach = http://yourdomain/cgi-bin/WebCatalogEngine/Admin/AdminPrefs.dna and Snow = Leopard only understands = http://yourdomain/CGI-Executables/WebCatalogEngine/Admin/AdminPrefs.dna > > >=20 > > > - chris > > >=20 >=20 > from me to Chris: >=20 > > On Jun 24, 2010, at 14:50, wrote: > >=20 > > > Thank you for the quick reply. Unfortunately, no luck yet. > > >=20 > > > When I installed it yesterday, I saved the entries I made in the = installer. You'll find them below. > > >=20 > > > I had also entered this line in httpd.conf yesterday, and double = checked it today; it is there. > > >=20 > > > ScriptAlias /cgi-bin "/Library/WebServer/CGI-Executables" > > >=20 > > > Here is the full content of httpd.conf: > > >=20 > > > KeepAliveTimeout 15 > > > # As of Mac OS X Server 10.5, the compiled-in server limit is 2048 > > > ServerLimit 2048 > > > # Server Admin manages ListenBackLog as a function of MaxClients: = min(511, MaxClients/2) > > > MaxClients 1024 > > > ListenBackLog 511 > > > #### > > > #### The following Include directive is essential for the virtual = hosts to be usable. > > > #### > > > Include "/etc/apache2/sites/*.conf" > > > Include = /Library/WebServer/CGI-Executables/WebCatalogEngine/webdna.conf > > > ScriptAlias /cgi-bin "/Library/WebServer/CGI-Executables" > > >=20 > > > After installing yesterday, I looked at the modules tab in web = server admin, and there was not a module for WebDNA (should there have = been?) I added it browsing to the path = /Library/WebServer/CGI-Executables/WebCatalogEngine/mod_WebDNA_apache2.2.s= o I restarted Apache and WebCat, even tried rebooting. No luck. = Does that belong (the installer did not add it). > > >=20 > > > Any other ideas? > > >=20 > > >=20 > > >=20 > > >=20 > > >=20 > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > INSTALL =20 > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > To install the WebDNA into your system, you will need=20 > > > to provide some infomation about your Apache Server. > > > Please be prepared to provide the paths for the following > > > directories:=20 > > > Default Web Server DocumentRoot directory. > > > Default Web Server CGI directory. > > > Apache configuration directory (contains the default httpd.conf = file) > > > Apache user name > > > Enter to accept the defaults > > >=20 > > > Enter the Default Web Server DocumentRoot directory: = =20 > > > ( default is /Library/WebServer/Documents ) > > > /Library/WebServer/Sites > > >=20 > > > Enter the Default Web Server CGI directory: =20 > > > ( default is /Library/WebServer/CGI-Executables ) > > > =20 > > >=20 > > > Enter the Apache configuration directory (contains the default = httpd.conf file): =20 > > > ( default is /etc/apache2 ) > > > =20 > > >=20 > > > Enter the apache user name: =20 > > > ( default is _www ) > > > =20 > > > Installing WebDNA... > > > Using ApacheCtl as: apachectl > > > Installed WebCatalog documents into directory: > > > /Library/WebServer/Sites/WebCatalog =20 > > > Installed WebCatalog into directory > > > /Library/WebServer/CGI-Executables/WebCatalogEngine =20 > > > Modifying httpd.conf > > > Setting Permissions > > > /Library/WebServer/CGI-Executables/WebCatalogEngine/WebCatalogCtl = start: WebDNAMonitor started > > > =20 > > > +-------------------------------------------------------- > > > | You now have successfully installed WebDNA in your =20 > > > | Apache server. =20 > > > | To administer your WebDNA installation, please visit =20 > > > | http://127.0.0.1/WebCatalog =20 > > >=20 > >=20 >=20 >=20 > =46rom Chris: >=20 > >=20 > >=20 > > Hi ! adding ScriptAlias /cgi-bin = "/Library/WebServer/CGI-Executables" should work, we have several users = who came with the same question, and all of them solved the problem with = this line. > >=20 > > There is no need to add the module in the GUI > >=20 > > Are you sure your /WebCatalogEngine is in = /Library/WebServer/CGI-Executables/WebCatalogEngine/ and that your = /WebCatalog folder is in your website root folder? it should be = available to http://127.0.0.1/WebCatalog=20 > >=20 > > - chris > >=20 >=20 > =46rom me to Chris: >=20 > >=20 > > I am in the process of reinstalling OS X SL Server now to set up = RAID, and will try installing WebCat again once I am done. Question: = your installer asks for correct paths to certain things or to accept the = defaults. I changed one thing:=20 > >=20 > > > Enter the Default Web Server DocumentRoot directory: = =20 > > > ( default is /Library/WebServer/Documents ) > > > /Library/WebServer/Sites > >=20 > > because when you use Server Admin to set up a new site, it puts it = in /Library/WebServer/Sites not /Library/WebServer/Documents But, = there is a /Library/WebServer/Documents folder. Could this be my = problem?=20 >=20 > =46rom Chris to me: >=20 > This might be an extra complication, yes: i don't know how OSX server = handles the CGI-BIN folder in this case. Normally, you get your files in = /Library/WebServer/Documents/ and the engine is in = /Library/WebServer/CGI-Executables/WebCatalogEngine/ (outside the server = folder, with a SciptAlias) > Apache loads the engine as a module and every .dna file in = /Library/WebServer/Documents/ is interpreted. >=20 > Logically, it should work with /Library/WebServer/Sites/ but since the = websites might request files in = /Library/WebServer/CGI-Executables/WebCatalogEngine/ (for instance = shopping carts, sandboxes or global files), i don't know how OSX server = will get that these files must be called through different path. I am = sure it will work, but there migh be some slight modifications to do. = Feel free to ask on the talk-list, there are many users with Snow = Leopard server. They could help you better than i can. >=20 > sincerely, > - chris >=20 >=20 >=20 >=20 >=20 >=20 --Apple-Mail-3-678728851 Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=us-ascii
Although I do not have the direct answer; I do have the following question (sorry about hijacking the thread).

Why is this not done by the installer?

Palle


On 25/06/2010, at 17.30, WebAdmin wrote:

Greetings, all.

I am struggling to get WebDNA running on OS X Snow Leopard Server 10.6.3 and 10.6.4.  Here is correspondence between me and Christophe Billiottet.  If any Snow Leopard Server users can shed some light on how to get this running (other than what I've tried, below), I would appreciate it.

thx.

> > On Jun 23, 2010, at 17:34, wrote:
> > 
> > > Hello Christophe,
> > > 
> > > I downloaded your Mac installer today for use on a new Snow Leopard Server, and though the installation succeeds in that WebCat is running, it fails in that Apache gives an "Object Not Found" when going to http://127.0.0.1/webcatalog
> > > 
> > > I noted that there was no apache module installed for WebCat when looking at Apache modules in Server Admin.  I tried adding it and enabling it, but that blocked all pages from being served (snow leopard's wikis for example).
> > > 
> > > Is there an installer that has been tested on Snow Leopard Server?  I am hoping so.  Or, what steps do I need to take to get this working?
> > > 
> > > Thanks.
> > > 



from Christophe:

> > 
> > Hi !
> > 
> > For Snow Leopard server, you should just add this line in httpd.conf:
> > 
> > 
> > ScriptAlias /cgi-bin "/Library/WebServer/CGI-Executables"
> > 
> > then restart apache: sudo apachectl restart
> > and webdna: /Library/WebServer/CGI-Executables/WebCatalogEngine/WebCatalogCtl restart
> > 
> > It should work without anything else. The problem is Snow Leopard server removed this line and WebDNA admin is trying to reach http://yourdomain/cgi-bin/WebCatalogEngine/Admin/AdminPrefs.dna and Snow Leopard only understands http://yourdomain/CGI-Executables/WebCatalogEngine/Admin/AdminPrefs.dna
> > 
> > - chris
> > 

from me to Chris:

> On Jun 24, 2010, at 14:50, wrote:
> > Thank you for the quick reply.  Unfortunately, no luck yet.
> > 
> > When I installed it yesterday, I saved the entries I made in the installer.  You'll find them below.
> > 
> > I had also entered this line in httpd.conf yesterday, and double checked it today; it is there.
> > 
> > ScriptAlias /cgi-bin "/Library/WebServer/CGI-Executables"
> > 
> > Here is the full content of httpd.conf:
> > 
> > KeepAliveTimeout 15
> > # As of Mac OS X Server 10.5, the compiled-in server limit is 2048
> > ServerLimit 2048
> > # Server Admin manages ListenBackLog as a function of MaxClients: min(511, MaxClients/2)
> > MaxClients 1024
> > ListenBackLog 511
> > ####
> > #### The following Include directive is essential for the virtual hosts to be usable.
> > ####
> > Include "/etc/apache2/sites/*.conf"
> > Include /Library/WebServer/CGI-Executables/WebCatalogEngine/webdna.conf
> > ScriptAlias /cgi-bin "/Library/WebServer/CGI-Executables"
> > 
> > After installing yesterday, I looked at the modules tab in web server admin, and there was not a module for WebDNA (should there have been?)  I added it browsing to the path  /Library/WebServer/CGI-Executables/WebCatalogEngine/mod_WebDNA_apache2.2.so    I restarted Apache and WebCat, even tried rebooting.  No luck.  Does that belong (the installer did not add it).
> > 
> > Any other ideas?
> > 
> > 
> > 
> > 
> > 
> > ===========================================================
> >  INSTALL                                                   
> > ===========================================================
> > To install the WebDNA into your system, you will need 
> > to provide some infomation about your Apache Server.
> > Please be prepared to provide the paths for the following
> > directories: 
> >  Default Web Server DocumentRoot directory.
> >  Default Web Server CGI directory.
> >  Apache configuration directory (contains the default httpd.conf file)
> >  Apache user name
> > Enter to accept the defaults
> > 
> >  Enter the Default Web Server DocumentRoot directory:                
> >  ( default is /Library/WebServer/Documents )
> >  /Library/WebServer/Sites
> > 
> >  Enter the Default Web Server CGI directory:                
> >  ( default is /Library/WebServer/CGI-Executables )
> >  
> > 
> >  Enter the Apache configuration directory (contains the default httpd.conf file):             
> >  ( default is /etc/apache2 )
> >  
> > 
> >  Enter the apache user name:             
> >  ( default is _www )
> >  
> > Installing WebDNA...
> > Using ApacheCtl as: apachectl
> >  Installed WebCatalog documents into directory:
> >  /Library/WebServer/Sites/WebCatalog  
> >  Installed WebCatalog into directory
> >  /Library/WebServer/CGI-Executables/WebCatalogEngine  
> > Modifying httpd.conf
> > Setting Permissions
> > /Library/WebServer/CGI-Executables/WebCatalogEngine/WebCatalogCtl start: WebDNAMonitor started
> >  
> >  +--------------------------------------------------------
> >  | You now have successfully installed WebDNA in your     
> >  | Apache server.                                         
> >  | To administer your WebDNA installation, please visit   
> >  | http://127.0.0.1/WebCatalog                            
> > 


From Chris:

> Hi ! adding ScriptAlias /cgi-bin "/Library/WebServer/CGI-Executables" should work, we have several users who came with the same question, and all of them solved the problem with this line.
> There is no need to add the module in the GUI
> Are you sure your /WebCatalogEngine  is in /Library/WebServer/CGI-Executables/WebCatalogEngine/ and that your /WebCatalog folder is in your website root folder? it should be available to http://127.0.0.1/WebCatalog 
> - chris

From me to Chris:

> I am in the process of reinstalling OS X SL Server now to set up RAID, and will try installing WebCat again once I am done.  Question:  your installer asks for correct paths to certain things or to accept the defaults.  I changed one thing: 
> >  Enter the Default Web Server DocumentRoot directory:                
> >  ( default is /Library/WebServer/Documents )
> >  /Library/WebServer/Sites
> because when you use Server Admin to set up a new site, it puts it in /Library/WebServer/Sites   not    /Library/WebServer/Documents  But, there is a /Library/WebServer/Documents folder.  Could this be my problem? 

From Chris to me:

This might be an extra complication, yes: i don't know how OSX server handles the CGI-BIN folder in this case. Normally, you get your files in /Library/WebServer/Documents/ and the engine is in /Library/WebServer/CGI-Executables/WebCatalogEngine/ (outside the server folder, with a SciptAlias)
Apache loads the engine as a module and every .dna file in /Library/WebServer/Documents/ is interpreted.

Logically, it should work with /Library/WebServer/Sites/ but since the websites might request files in /Library/WebServer/CGI-Executables/WebCatalogEngine/ (for instance shopping carts, sandboxes or global files), i don't know how OSX server will get that these files must be called through  different path. I am sure it will work, but there migh be some slight modifications to do. Feel free to ask on the talk-list, there are many users with Snow Leopard server. They could help you better than i can.

sincerely,
- chris







--Apple-Mail-3-678728851-- Palle Bo Nielsen

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

WebCommerce: Folder organization ? (1997) WebCat2 - storing unformatted date data? (1997) [WebDNA] [sendmail] mystery (2009) RE: Cart Template (1997) Cookies (2001) SHOWIF/HIDEIF empty fields (2005) [WebDNA] Retrieving a PDF from an email (2008) RE: Nesting [ListFiles] (1998) RE: Is there an easier way? (1998) ShowNext (1997) Nested tags count question (1997) Problems setting MIME Headers (1998) Which [index]? (1997) Passing radio check box value to itself... (2000) Need help with emailer- 2 issues (1997) Aaron kant add (or whatever it was) (2000) DIsplaying Search Result Relevance (2000) Bug or syntax error on my part? (1997) Root Folder problems cont. (1998) Archives (2002)