Ararajita,
Am 28.09.2010 um 00:17 schrieb Aparajita Fishman: >> Sep 27 23:34:12 Active4D: [warn] virtual host: invalid root: as >> >> There is no such thing in my definitions. > > Please get r21 and turn debug logging on. I can't really see what is going on > without that. Looks like the last entry causes it: Sep 28 14:37:28 Active4D: [info] virtual hosts: reading /Users/peterschumacher/Documents/4DC_v12_Structure/Active4D/VirtualHosts.ini Sep 28 14:37:28 Active4D: [debug] virtual host: ip = *; host = "www.4d-werkstatt.com:8080"; language = ""; root = /Users/peterschumacher/Documents/4DC_v12_Structure/webWerkstatt/; virtual host = ""; default = "default.shtml" Sep 28 14:37:28 Active4D: [debug] virtual host: ip = *; host = "www.4d-consulting.com:8080"; language = ""; root = /Users/peterschumacher/Documents/4DC_v12_Structure/web/; virtual host = ""; default = "default.shtml" Sep 28 14:37:28 Active4D: [debug] virtual host: ip = *; host = "www.4d-seminare.com:8080"; language = ""; root = /Users/peterschumacher/Documents/4DC_v12_Structure/wwwSeminare/; virtual host = ""; default = "default.shtml" Sep 28 14:37:28 Active4D: [debug] virtual host: ip = *; host = "www.4d-seminare.de:8080"; language = ""; root = /Users/peterschumacher/Documents/4DC_v12_Structure/wwwSeminare/; virtual host = ""; default = "default.shtml" Sep 28 14:37:28 Active4D: [debug] virtual host: ip = *; host = "www.4d-workshop.*:8080"; language = ""; root = /Users/peterschumacher/Documents/4DC_v12_Structure/wwwSeminare/; virtual host = ""; default = "default.shtml" Sep 28 14:37:28 Active4D: [debug] virtual host: ip = 188.111.47.170; host = ""; language = ""; root = /Users/peterschumacher/Documents/4DC_v12_Structure/web/; virtual host = ""; default = "default.shtml" Sep 28 14:37:28 Active4D: [warn] virtual host: invalid root: as and later Sep 28 14:37:28 Active4D: [info] plugin: initializing circuits Sep 28 14:37:28 Active4D: [info] plugin: scanning for circuits in web root /Users/peterschumacher/Documents/4DC_v12_Structure/web/ Sep 28 14:37:28 Active4D: [info] plugin: scanning for circuits in web root /Users/peterschumacher/Documents/4DC_v12_Structure/webWerkstatt/ Sep 28 14:37:28 Active4D: [info] plugin: scanning for circuits in web root /Users/peterschumacher/Documents/4DC_v12_Structure/wwwSeminare/ Sep 28 14:37:28 Active4D: [info] plugin: circuits initialized But if I call http://www.4d-seminare.de - I'll end up in the "web" folder (default one). After commenting out the ip address, I still get the error: //IP Address Hostname[:port] Language Root Default * www.4d-werkstatt.com:8080 * webWerkstatt default.shtml * www.4d-consulting.com:8080 * web default.shtml * www.4d-seminare.com:8080 * wwwSeminare default.shtml * www.4d-seminare.de:8080 * wwwSeminare default.shtml * www.4d-workshop.*:8080 * wwwSeminare default.shtml //188.111.47.170 * * web default.shtml in the debug log: Sep 28 14:45:55 Active4D: [info] virtual hosts: reading /Users/peterschumacher/Documents/4DC_v12_Structure/Active4D/VirtualHosts.ini Sep 28 14:45:55 Active4D: [debug] virtual host: ip = *; host = "www.4d-werkstatt.com:8080"; language = ""; root = /Users/peterschumacher/Documents/4DC_v12_Structure/webWerkstatt/; virtual host = ""; default = "default.shtml" Sep 28 14:45:55 Active4D: [debug] virtual host: ip = *; host = "www.4d-consulting.com:8080"; language = ""; root = /Users/peterschumacher/Documents/4DC_v12_Structure/web/; virtual host = ""; default = "default.shtml" Sep 28 14:45:55 Active4D: [debug] virtual host: ip = *; host = "www.4d-seminare.com:8080"; language = ""; root = /Users/peterschumacher/Documents/4DC_v12_Structure/wwwSeminare/; virtual host = ""; default = "default.shtml" Sep 28 14:45:55 Active4D: [debug] virtual host: ip = *; host = "www.4d-seminare.de:8080"; language = ""; root = /Users/peterschumacher/Documents/4DC_v12_Structure/wwwSeminare/; virtual host = ""; default = "default.shtml" Sep 28 14:45:55 Active4D: [debug] virtual host: ip = *; host = "www.4d-workshop.*:8080"; language = ""; root = /Users/peterschumacher/Documents/4DC_v12_Structure/wwwSeminare/; virtual host = ""; default = "default.shtml" Sep 28 14:45:55 Active4D: [debug] virtual host: ip = //188.111.47.170; host = ""; language = ""; root = /Users/peterschumacher/Documents/4DC_v12_Structure/web/; virtual host = ""; default = "default.shtml" Sep 28 14:45:55 Active4D: [warn] virtual host: invalid root: as Now setting virtualhost.ini to just one entry, block-commented the others: //IP Address Hostname[:port] Language Root Default * www.4d-consulting.com:8080 * web default.shtml /* * www.4d-werkstatt.com:8080 * webWerkstatt default.shtml * www.4d-seminare.com:8080 * wwwSeminare default.shtml * www.4d-seminare.de:8080 * wwwSeminare default.shtml * www.4d-workshop.*:8080 * wwwSeminare default.shtml 188.111.47.170 * * web default.shtml */ result - the last comment-end is missing: '*/' - but this might be cosmetic problem only: Sep 28 14:49:14 Active4D: [info] virtual hosts: reading /Users/peterschumacher/Documents/4DC_v12_Structure/Active4D/VirtualHosts.ini Sep 28 14:49:14 Active4D: [debug] virtual host: ip = *; host = "www.4d-consulting.com:8080"; language = ""; root = /Users/peterschumacher/Documents/4DC_v12_Structure/web/; virtual host = ""; default = "default.shtml" Sep 28 14:49:14 Active4D: [debug] virtual host: ip = /* *; host = "www.4d-werkstatt.com:8080"; language = ""; root = /Users/peterschumacher/Documents/4DC_v12_Structure/webWerkstatt/; virtual host = ""; default = "default.shtml" Sep 28 14:49:14 Active4D: [debug] virtual host: ip = *; host = "www.4d-seminare.com:8080"; language = ""; root = /Users/peterschumacher/Documents/4DC_v12_Structure/wwwSeminare/; virtual host = ""; default = "default.shtml" Sep 28 14:49:14 Active4D: [debug] virtual host: ip = *; host = "www.4d-seminare.de:8080"; language = ""; root = /Users/peterschumacher/Documents/4DC_v12_Structure/wwwSeminare/; virtual host = ""; default = "default.shtml" Sep 28 14:49:14 Active4D: [debug] virtual host: ip = *; host = "www.4d-workshop.*:8080"; language = ""; root = /Users/peterschumacher/Documents/4DC_v12_Structure/wwwSeminare/; virtual host = ""; default = "default.shtml" Sep 28 14:49:14 Active4D: [debug] virtual host: ip = 188.111.47.170; host = ""; language = ""; root = /Users/peterschumacher/Documents/4DC_v12_Structure/web/; virtual host = ""; default = "default.shtml" Sep 28 14:49:14 Active4D: [warn] virtual host: invalid root: as Sep 28 14:49:14 Active4D: [info] extension map: reading /Users/peterschumacher/Documents/4DC_v12_Structure/Active4D/ExtensionMap.ini The warning about the invalid root 'as' still appears. Next step. Created a file "virtualhost.ini" and typed everything new - no copy&paste: //ip host language root default * www.4d-consulting.com * web default.shtml * www.4d-werkstatt.de * WebWerkstatt default.shtml * www.4d-seminare.de * wwwSeminare default.shtml (last line ends with a LF, encoding UTF-8, with TextMate) Sep 28 15:01:54 Active4D: [info] virtual hosts: reading /Users/peterschumacher/Documents/4DC_v12_Structure/Active4D/VirtualHosts.ini Sep 28 15:01:54 Active4D: [debug] virtual host: ip = *; host = "www.4d-consulting.com"; language = ""; root = /Users/peterschumacher/Documents/4DC_v12_Structure/web/; virtual host = ""; default = "default.shtml" Sep 28 15:01:54 Active4D: [debug] virtual host: ip = *; host = "www.4d-werkstatt.de"; language = ""; root = /Users/peterschumacher/Documents/4DC_v12_Structure/WebWerkstatt/; virtual host = ""; default = "default.shtml" Sep 28 15:01:54 Active4D: [debug] virtual host: ip = *; host = "www.4d-seminare.de"; language = ""; root = /Users/peterschumacher/Documents/4DC_v12_Structure/wwwSeminare/; virtual host = ""; default = "default.shtml" The error about the "as" root is gone!! But http://www.4d-seminare.de still goes to the "web" folder. No more entries in the log about it. Baffeld. I get some coffe and cake now.... Greetings, [4D-Consulting.com]eK, Wiesbaden (Germany) Peter Schumacher -------------------------------------------------------- Web: http://www.4D-Consulting.com/ FreeCall: 0800 434 636 7 (Germany only) USA: +1 818 824 6078 International: +49 611 9406 850 Fax: +49 611 9406 744 iChat/Skype: PeterInWiesbaden 4D-Consulting.com eK - Scharnhorststr. 36 - 65195 Wiesbaden Member of the German Developer Network http://www.die4dwerkstatt.de _______________________________________________ Active4D-dev mailing list [email protected] http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/
