[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Two directories for one project or module
From: |
Kenneth Dombrowski |
Subject: |
Re: Two directories for one project or module |
Date: |
Sun, 20 Jun 2004 12:26:47 -0400 |
User-agent: |
Mutt/1.3.28i |
On 04-06-19 05:00 -0700, Adrian Constantin wrote:
> For my project I use two directories and I can't
> easily include one within another. One directory is
> for finished files I make public on the web server,
> and the other is a working space with test files and
> intermediate source files. For example a have a page
> in .php that I use after an incorect ftp transfer to
> do the job of dos2unix comand. The page stays in the
> working directory, and I don't want it included in the
> public directory on the web server, not can the
> working directory include the public one since this
> will make it public too.
>
I'm sorry if I'm misunderstanding the question, but: import the
directories from one level up the heirarchy?
My web projects check out of cvs structured like this:
address@hidden:~/ylayali-dev$ ls -l
total 36
drwxr-xr-x 2 kenneth kenneth 4096 Jun 19 20:20 CVS
drwxr-xr-x 3 kenneth kenneth 4096 Jun 20 10:00 conf
drwxr-xr-x 3 kenneth kenneth 4096 Jun 19 17:23 db
drwxr-xr-x 15 kenneth kenneth 4096 Jun 20 10:00 htdocs
drwxr-xr-x 3 kenneth kenneth 4096 Mar 11 21:28 htpasswd
drwxr-xr-x 3 kenneth kenneth 4096 Jun 20 00:50 lib
drwxr-xr-x 3 kenneth kenneth 4096 Jun 19 20:20 tmpl
only htdocs is publically available on the web server
But reading your question again, I think maybe you want access to your
dos2unix script over the web? Use .htaccess & put it in a subdirectory
of htdocs (or whatever your DocumentRoot is called)?
HTH,
Kenneth