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

This WebDNA talk-list message is from

2010


It keeps the original formatting.
numero = 105412
interpreted = N
texte = It was, until 10.5. For 10.6, the ScriptAlias line has been removed by = Apple and must be manually added... - chris On Jun 25, 2010, at 14:15, Palle Bo Nielsen wrote: > Although I do not have the direct answer; I do have the following = question (sorry about hijacking the thread). >=20 > Why is this not done by the installer? >=20 > Palle >=20 >=20 > On 25/06/2010, at 17.30, WebAdmin wrote: >=20 >> 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 >=20 Associated Messages, from the most recent to the oldest:

    
It was, until 10.5. For 10.6, the ScriptAlias line has been removed by = Apple and must be manually added... - chris On Jun 25, 2010, at 14:15, Palle Bo Nielsen wrote: > Although I do not have the direct answer; I do have the following = question (sorry about hijacking the thread). >=20 > Why is this not done by the installer? >=20 > Palle >=20 >=20 > On 25/06/2010, at 17.30, WebAdmin wrote: >=20 >> 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 >=20 christophe.billiottet@webdna.us

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:

Clickable maps and WebCatalog? (1996) More DateMath problems (1997) Price characteristics? (1997) unable to run webcatalog locally (1998) [searchString] (1997) WebCat2b13MacPlugIn - syntax to convert date (1997) Displaying raw values (long) (1998) request for string functions (1998) Search/sort in URL Was: GuestBook example (1997) Explorer 3.0/ Access Denied! (1997) [WebDNA] Cannot get WebDNA and MySQL working. (2015) Close-to Comparison Code (1998) Text variables do not show (1999) Exists? (1997) WC2b15 File Corruption (1997) (1997) Sorting by date (1997) Emailer... DOA but still twitching (2007) did I miss anything (1997) Re:FYI: Error message (1996)