Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

In theory, there is no difference between theory and practice. In practice, there is.


devel / comp.lang.tcl / Rivet Root

SubjectAuthor
* Rivet RootRoderick
`- Rivet RootScott Pitcher

1
Rivet Root

<994b01da-9dea-fba8-977e-c4c8f0b44af9@gmail.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10276&group=comp.lang.tcl#10276

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!aioe.org!news.mb-net.net!open-news-network.org!.POSTED.ip5f5bd3a3.dynamic.kabel-deutschland.de!not-for-mail
From: hru...@gmail.com (Roderick)
Newsgroups: comp.lang.tcl
Subject: Rivet Root
Date: Thu, 1 Dec 2022 16:06:31 +0000
Organization: MB-NET.NET for Open-News-Network e.V.
Message-ID: <994b01da-9dea-fba8-977e-c4c8f0b44af9@gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; charset=US-ASCII
Injection-Info: gwaiyur.mb-net.net; posting-host="ip5f5bd3a3.dynamic.kabel-deutschland.de:95.91.211.163";
logging-data="3379810"; mail-complaints-to="abuse@open-news-network.org"
Cancel-Lock: sha1:+PoPCNVOTr/3Ie2KK0eocDk8B9Y=
X-User-ID: U2FsdGVkX18GAlzsMH7JCL5qI0RU06YB1zPQwZCowKtDJB45/rAYIg==
 by: Roderick - Thu, 1 Dec 2022 16:06 UTC

Excuse me, that I ask here, it is perhaps more a question on apache
than, tcl, but since people here know apache rivet ...

I do not want to put .rvt and .tcl skripts in the DocumentRoot directory
together with html file. I want them in a separated directory, as it is
the case with cgi scripts, also with a ScriptAlias as with cgi.
How to configure apache?

Thanks
Rod.

Re: Rivet Root

<20230117092421.609a9252@officepc.svpts>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10549&group=comp.lang.tcl#10549

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: sco...@svptechnicalservices.com.au (Scott Pitcher)
Newsgroups: comp.lang.tcl
Subject: Re: Rivet Root
Date: Tue, 17 Jan 2023 09:24:43 +1100
Organization: SVP TECHNICAL SERVICES
Lines: 47
Message-ID: <20230117092421.609a9252@officepc.svpts>
References: <994b01da-9dea-fba8-977e-c4c8f0b44af9@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: reader01.eternal-september.org; posting-host="0bd7cc3383d24098e5664a8b6dd811c0";
logging-data="2824636"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+r/sZMuZbgR6fwWw5+Zhwa1/ekPKKdLxY="
Cancel-Lock: sha1:b6O/BzgYPKWPPGHGESVf/X4teo4=
X-Newsreader: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu)
 by: Scott Pitcher - Mon, 16 Jan 2023 22:24 UTC

On Thu, 1 Dec 2022 16:06:31 +0000
Roderick <hruodr@gmail.com> wrote:

> I do not want to put .rvt and .tcl skripts in the DocumentRoot
> directory together with html file. I want them in a separated
> directory, as it is the case with cgi scripts, also with a
> ScriptAlias as with cgi. How to configure apache?

Hi Rod,

My sites-enabled/...conf file looks like this (some names anonymised):

Listen 80
# The http website
<VirtualHost *:80>
# SVP 14OCT2022: This will need to be changed to WARN or ERROR.
LogLevel info
CustomLog /home/.../logs/access.log combined
ErrorLog /home/.../logs/error.log
ServerName name
ServerAdmin scotty@localhost
DocumentRoot /home/..../www
# The main Rivet script
RivetServerConf ChildInitScript "source /home/.../www/childinit.tcl"
# All urls to go to the main script.
RewriteEngine On
RewriteRule ^(.*)$ /index.tcl [L]
<Directory /home/.../www>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Require all granted
</Directory>
</VirtualHost>

I keep the two main scripts, childinit.tcl and index.tcl in the .../www
directory, and all the other tcl scripts for the website site
in .../www/lib, in their own directory. I don't put any scripts in any
other place like /usr/lib/exec/cgi. I don't have any html or other
files in .../www. All requests go to my index.tcl and it serves the
content from a database.

I'm not sure exactly what you want to do, but I hope that helps a
bit.

Scott


devel / comp.lang.tcl / Rivet Root

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor