Re: [EMAIL PROTECTED] How can I setup URL path and directory mapping in apache

2007-07-16 Thread ying lcs
On 7/16/07, Joshua Slive <[EMAIL PROTECTED]> wrote: On 7/16/07, ying lcs <[EMAIL PROTECTED]> wrote: > Thanks. I tried by adding this in my apache2.conf: > > ScriptAliasMatch ^/v/(.+) /usr/local/movies/$1 > > > and when i hit http://localhost/v/sample_100kbit.m

Re: [EMAIL PROTECTED] How can I setup URL path and directory mapping in apache

2007-07-16 Thread ying lcs
On 7/16/07, Joshua Slive <[EMAIL PROTECTED]> wrote: On 7/16/07, ying lcs <[EMAIL PROTECTED]> wrote: > Hi, > > In apache, can I do this: > http://127.0.0.1:/dir1/index.html > > will go to /var/www/dir1/index.html > > and then > http://127.0.0.1:/dir2/index

[EMAIL PROTECTED] How can I setup URL path and directory mapping in apache

2007-07-16 Thread ying lcs
Hi, In apache, can I do this: http://127.0.0.1:/dir1/index.html will go to /var/www/dir1/index.html and then http://127.0.0.1:/dir2/index.html will go to /usr/local/bin/www/dir2/index.html If yes, can you please tell me how can I do that? Thank you. -

Re: [EMAIL PROTECTED] How can I write a cgi using c/c++?

2007-07-10 Thread ying lcs
Thanks. That is what I am looking for. How can I put your test program running in apache and how can I invoke that via my browser? Thanks again. On 7/10/07, Vincent Bray <[EMAIL PROTECTED]> wrote: On 10/07/07, ying lcs <[EMAIL PROTECTED]> wrote: > Can you please tell me what

[EMAIL PROTECTED] How can I write a cgi using c/c++?

2007-07-09 Thread ying lcs
Hi, Can you please tell me what is the easiest way to write a cgi using c/c++? I am coming from Tomcat servlet environment, I would like to know how can I do a cgi using c/c++ in apache? Thank you. - The official User-To-User

[EMAIL PROTECTED] umask settings on apache server

2007-03-24 Thread ying lcs
Hi, I am using apache to access SVN with a post-commit script. It uses a log file for 'trac.log'. I have set it to 777 but after one user commits (create the trac.log file), and another user commits. I get permission error. Some one on the Trac user group suggest i should check the umask settin