Re: [WebDNA] How to access WebDNA admin pages?
This WebDNA talk-list message is from 2010
It keeps the original formatting.
numero = 105844
interpreted = N
texte = Thanks Sal. Someone else is trying to install WebDNA on my vps right=20now so I'll review the info you posted and see if it works for me=20after they are finished.Sincerely,Kenneth Grome>=20> Alias=B6
lias#Alias>>> -> Aliasias#Alias> -> Description:ModAlias#Description> -> OptionsAlias#Options>>> *Module: mod_alias*> Description=B6s:ModAlias#Description>>> The alias module is used to specify a special document-root for a> given url-subset.> Options=B6dAlias#Options>>> alias.url> Rewrites the document-root for a URL-subset> Default: empty>> *Example of usage*:>> alias.url =3D ( "/cgi-bin/" =3D>> "/var/www/servers/www.example.org/cgi-bin/" )>>> *You can add additional aliases by:*>> alias.url +=3D ( "/content" =3D>> "/var/www/servers/www.somecontent.org/" )>>> *Important note*:>> As trailing slashes are stripped from the url before matching an> alias, the alias "/content/ =3D> "/dirtocontent/" will not match the> url "/content/"; it matches only something like "/content/somefile"> or "/content/somesubdir/".>> So in most cases you shouldn't use a trailing slash on the left> side (but use it on the right side!): "/content" =3D>> "/dirtocontent/">> Now "/content_x1/" is mapped to "/dirtocontent/_x1", "/content/" ->> "/dirtocontent/" and "/content/somefile" ->> "/dirtocontent//somefile" (yes, double slash).>> If you don't use it on the right side too, "/content_x1/" is mapped> to "/dirtocontent_x1", which you probably don't want.>> On Wed, Sep 29, 2010 at 10:42 AM, Kenneth Grome =20wrote:> > Hello Sal,> >> > Thanks for the suggestions. I'm using lighttpd not apache so the> > config settings you suggested won't work for me, but maybe a> > symlink will, or maybe I can find a solution similar to yours in> > the lighttpd docs.> >> > Sincerely,> > Kenneth Grome> >> > > Try these examples in your server configuration file or httpd.> > >> > >> > > There are frequently circumstances where it is necessary to> > > allow web access to parts of the filesystem that are not> > > strictly underneath the> > > DocumentRoot > >ocum entroot>. httpd offers several different ways to accomplish> > > this. On Unix systems, symbolic links can bring other parts of> > > the filesystem under the DocumentRoot> > > > > >. For security reasons, httpd will follow symbolic links only if> > > the> > > Options > >s>se tting for the relevant directory includes> > > FollowSymLinks or SymLinksIfOwnerMatch.> > >> > > Alternatively, the> > > Alias > >as>d irective will map any part of the filesystem into the web> > > space. For example, with> > >> > > Alias /docs /var/web> > >> > > the URL http://www.example.com/docs/dir/file.html will be> > > served from /var/web/dir/file.html. The> > > ScriptAlias > >ml#s criptalias>directive works the same way, with the> > > additional effect that all content located at the target path> > > is treated as> > > CGIscript> > >s.> > >> > > For situations where you require additional flexibility, you> > > can use the> > > AliasMatch > >l#al iasmatch>and> > > ScriptAliasMatch > >as.h tml#scriptaliasmatch>directives to do powerful regular> > > expression> > > based> > > matching and substitution. For example,> > >> > > ScriptAliasMatch ^/~([a-zA-Z0-9]+)/cgi-bin/(.+)> > > /home/$1/cgi-bin/$2> > >> > > will map a request to> > > http://example.com/~user/cgi-bin/script.cgi > >%7Euser/cgi-bin/script.cgi> to the path> > > /home/user/cgi-bin/script.cgi and will treat the resulting file> > > as a CGI script.> > >> > > On Wed, Sep 29, 2010 at 5:46 AM, Kenneth Grome> > > > >> > wrote:> > > > I tried moving the folder into /var/www/html and it didn't> > > > work -- of course this is because I failed to change this> > > > line in my lighttpd.conf file at the same time in order to> > > > correct the path to WebDNA.fcgi:> > > >> > > > "bin-path" =3D> "/var/www/WebDNA/WebDNA.fcgi",> > > >> > > > I don't know how to add a document root within the virtual> > > > server as you've suggested below, but I think it's going to> > > > be easier (for now anyways) to just move the WebDNA folder> > > > back into /var/www, rename it to "xxx", and make these two> > > > changes in the lighttpd.conf file then reboot:> > > >> > > > from:> > > > server.document-root =3D "/var/www/html"> > > > to:> > > > server.document-root =3D "/var/www"> > > >> > > > from:> > > > "bin-path" =3D> "/var/www/WebDNA/WebDNA.fcgi",> > > > to:> > > > "bin-path" =3D> "/var/www/xxx/WebDNA.fcgi",> > > >> > > > Unless I've forgotten something again I think this will do> > > > what I want right now. Then later I can figure out how to> > > > try your suggestion and see if that works.> > > >> > > > Sincerely,> > > > Kenneth Grome> > > >> > > > > You can give it the name you want. No restriction. Just fix> > > > > the path in your httpd.conf Also, you might keep /WebDNA> > > > > outside your webserver hierarchy adding a document root> > > > > within the virtual server. We did not try this yet.> > > > >> > > > > - chris> > > > >> > > > > On Sep 29, 2010, at 9:25, Kenneth Grome wrote:> > > > > > Hi Chris,> > > > > >> > > > > > Thanks for the details.> > > > > >> > > > > > Can I rename the /WebDNA folder after putting it inside> > > > > > my website hierarchy? Or will renaming it cause> > > > > > something to break?> > > > > >> > > > > > I'm thinking of renaming it so no one knows its name> > > > > > (better security) and it seems that if everything inside> > > > > > the /WebDNA folder is referenced by relative paths then> > > > > > nothing should break ... but maybe I'm overlooking> > > > > > something?> > > > > >> > > > > > Sincerely,> > > > > > Kenneth Grome> > > > > >> > > > > >> Hi Ken! WebDNA.fcgi can be placed almost anywhere inside> > > > > >> or outside the website hierarchy. For instance, you can> > > > > >> either place /WebDNA inside a /cgi-bin, or just inside> > > > > >> the website folder istelf. In your case, with /WebDNA> > > > > >> outside of your website hierarchy, i don't know how to> > > > > >> access> > > > > >> /WebDNA/Admin/AdminPrefs.dna I would say yes, you should> > > > > >> either change your document root folder to /var/www or> > > > > >> move the entire /WebDNA folder inside /var/www/html> > > > > >> > > > > > ---------------------------------------------------------> > > > > > This message is sent to you because you are subscribed to> > > > > > the mailing list .> > > > > > To unsubscribe, E-mail to: > > > > > > archives: http://mail.webdna.us/list/talk@webdna.us> > > > > > Bug Reporting: support@webdna.us> > > > >> > > > > ---------------------------------------------------------> > > > > This message is sent to you because you are subscribed to> > > > > the mailing list .> > > > > To unsubscribe, E-mail to: > > > > > archives: http://mail.webdna.us/list/talk@webdna.us> > > > > Bug Reporting: support@webdna.us> > > >> > > > ---------------------------------------------------------> > > > This message is sent to you because you are subscribed to> > > > the mailing list .> > > > To unsubscribe, E-mail to: > > > > archives: http://mail.webdna.us/list/talk@webdna.us> > > > Bug Reporting: support@webdna.us> >> > ---------------------------------------------------------> > This message is sent to you because you are subscribed to> > the mailing list .> > To unsubscribe, E-mail to: > > archives: http://mail.webdna.us/list/talk@webdna.us> > Bug Reporting: support@webdna.us
Associated Messages, from the most recent to the oldest:
Thanks Sal. Someone else is trying to install WebDNA on my vps right=20now so I'll review the info you posted and see if it works for me=20after they are finished.Sincerely,Kenneth Grome>=20> Alias=B6lias#Alias>>> -> Aliasias#Alias> -> Description:ModAlias#Description> -> OptionsAlias#Options>>> *Module: mod_alias*> Description=B6s:ModAlias#Description>>> The alias module is used to specify a special document-root for a> given url-subset.> Options=B6dAlias#Options>>> alias.url> Rewrites the document-root for a URL-subset> Default: empty>> *Example of usage*:>> alias.url =3D ( "/cgi-bin/" =3D>> "/var/www/servers/www.example.org/cgi-bin/" )>>> *You can add additional aliases by:*>> alias.url +=3D ( "/content" =3D>> "/var/www/servers/www.somecontent.org/" )>>> *Important note*:>> As trailing slashes are stripped from the url before matching an> alias, the alias "/content/ =3D> "/dirtocontent/" will not match the> url "/content/"; it matches only something like "/content/somefile"> or "/content/somesubdir/".>> So in most cases you shouldn't use a trailing slash on the left> side (but use it on the right side!): "/content" =3D>> "/dirtocontent/">> Now "/content_x1/" is mapped to "/dirtocontent/_x1", "/content/" ->> "/dirtocontent/" and "/content/somefile" ->> "/dirtocontent//somefile" (yes, double slash).>> If you don't use it on the right side too, "/content_x1/" is mapped> to "/dirtocontent_x1", which you probably don't want.>> On Wed, Sep 29, 2010 at 10:42 AM, Kenneth Grome =20wrote:> > Hello Sal,> >> > Thanks for the suggestions. I'm using lighttpd not apache so the> > config settings you suggested won't work for me, but maybe a> > symlink will, or maybe I can find a solution similar to yours in> > the lighttpd docs.> >> > Sincerely,> > Kenneth Grome> >> > > Try these examples in your server configuration file or httpd.> > >> > >> > > There are frequently circumstances where it is necessary to> > > allow web access to parts of the filesystem that are not> > > strictly underneath the> > > DocumentRoot > >ocum entroot>. httpd offers several different ways to accomplish> > > this. On Unix systems, symbolic links can bring other parts of> > > the filesystem under the DocumentRoot> > > > > >. For security reasons, httpd will follow symbolic links only if> > > the> > > Options > >s>se tting for the relevant directory includes> > > FollowSymLinks or SymLinksIfOwnerMatch.> > >> > > Alternatively, the> > > Alias > >as>d irective will map any part of the filesystem into the web> > > space. For example, with> > >> > > Alias /docs /var/web> > >> > > the URL http://www.example.com/docs/dir/file.html will be> > > served from /var/web/dir/file.html. The> > > ScriptAlias > >ml#s criptalias>directive works the same way, with the> > > additional effect that all content located at the target path> > > is treated as> > > CGIscript> > >s.> > >> > > For situations where you require additional flexibility, you> > > can use the> > > AliasMatch > >l#al iasmatch>and> > > ScriptAliasMatch > >as.h tml#scriptaliasmatch>directives to do powerful regular> > > expression> > > based> > > matching and substitution. For example,> > >> > > ScriptAliasMatch ^/~([a-zA-Z0-9]+)/cgi-bin/(.+)> > > /home/$1/cgi-bin/$2> > >> > > will map a request to> > > http://example.com/~user/cgi-bin/script.cgi > >%7Euser/cgi-bin/script.cgi> to the path> > > /home/user/cgi-bin/script.cgi and will treat the resulting file> > > as a CGI script.> > >> > > On Wed, Sep 29, 2010 at 5:46 AM, Kenneth Grome> > > > >> > wrote:> > > > I tried moving the folder into /var/www/html and it didn't> > > > work -- of course this is because I failed to change this> > > > line in my lighttpd.conf file at the same time in order to> > > > correct the path to WebDNA.fcgi:> > > >> > > > "bin-path" =3D> "/var/www/WebDNA/WebDNA.fcgi",> > > >> > > > I don't know how to add a document root within the virtual> > > > server as you've suggested below, but I think it's going to> > > > be easier (for now anyways) to just move the WebDNA folder> > > > back into /var/www, rename it to "xxx", and make these two> > > > changes in the lighttpd.conf file then reboot:> > > >> > > > from:> > > > server.document-root =3D "/var/www/html"> > > > to:> > > > server.document-root =3D "/var/www"> > > >> > > > from:> > > > "bin-path" =3D> "/var/www/WebDNA/WebDNA.fcgi",> > > > to:> > > > "bin-path" =3D> "/var/www/xxx/WebDNA.fcgi",> > > >> > > > Unless I've forgotten something again I think this will do> > > > what I want right now. Then later I can figure out how to> > > > try your suggestion and see if that works.> > > >> > > > Sincerely,> > > > Kenneth Grome> > > >> > > > > You can give it the name you want. No restriction. Just fix> > > > > the path in your httpd.conf Also, you might keep /WebDNA> > > > > outside your webserver hierarchy adding a document root> > > > > within the virtual server. We did not try this yet.> > > > >> > > > > - chris> > > > >> > > > > On Sep 29, 2010, at 9:25, Kenneth Grome wrote:> > > > > > Hi Chris,> > > > > >> > > > > > Thanks for the details.> > > > > >> > > > > > Can I rename the /WebDNA folder after putting it inside> > > > > > my website hierarchy? Or will renaming it cause> > > > > > something to break?> > > > > >> > > > > > I'm thinking of renaming it so no one knows its name> > > > > > (better security) and it seems that if everything inside> > > > > > the /WebDNA folder is referenced by relative paths then> > > > > > nothing should break ... but maybe I'm overlooking> > > > > > something?> > > > > >> > > > > > Sincerely,> > > > > > Kenneth Grome> > > > > >> > > > > >> Hi Ken! WebDNA.fcgi can be placed almost anywhere inside> > > > > >> or outside the website hierarchy. For instance, you can> > > > > >> either place /WebDNA inside a /cgi-bin, or just inside> > > > > >> the website folder istelf. In your case, with /WebDNA> > > > > >> outside of your website hierarchy, i don't know how to> > > > > >> access> > > > > >> /WebDNA/Admin/AdminPrefs.dna I would say yes, you should> > > > > >> either change your document root folder to /var/www or> > > > > >> move the entire /WebDNA folder inside /var/www/html> > > > > >> > > > > > ---------------------------------------------------------> > > > > > This message is sent to you because you are subscribed to> > > > > > the mailing list .> > > > > > To unsubscribe, E-mail to: > > > > > > archives: http://mail.webdna.us/list/talk@webdna.us> > > > > > Bug Reporting: support@webdna.us> > > > >> > > > > ---------------------------------------------------------> > > > > This message is sent to you because you are subscribed to> > > > > the mailing list .> > > > > To unsubscribe, E-mail to: > > > > > archives: http://mail.webdna.us/list/talk@webdna.us> > > > > Bug Reporting: support@webdna.us> > > >> > > > ---------------------------------------------------------> > > > This message is sent to you because you are subscribed to> > > > the mailing list .> > > > To unsubscribe, E-mail to: > > > > archives: http://mail.webdna.us/list/talk@webdna.us> > > > Bug Reporting: support@webdna.us> >> > ---------------------------------------------------------> > This message is sent to you because you are subscribed to> > the mailing list .> > To unsubscribe, E-mail to: > > archives: http://mail.webdna.us/list/talk@webdna.us> > Bug Reporting: support@webdna.us
Kenneth Grome
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:
Upgrade Price Problems (2000)
Pre-flight public flag (1997)
No comment (1997)
Protect (1997)
4.5.1 on Panther? (2004)
Correction: New WebDNA Example from Olin -- (1998)
Encrypt question. (2000)
Help! WebCat2 bug (1997)
[WebDNA] add hours over 24 (2014)
OK, here goes... (1997)
Date problems-more (1997)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
Extracting a filename (2004)
WebCat2b15MacPlugin - [protect] (1997)
Search for dates greater than [date] (1997)
Capacity question (2002)
HTML encoding in URLs (1997)
webcat and OS 8 (1997)
Help name our technology! (1997)
Windows 2.1b2 Append Bug? (1997)