While we are on the subject, I would welcome suggestions on where I can contain the simplest CGI to allow a user to upload a file. I should mention that there are only a small number of users, all of whom are trusted, and that my OS is XP.
Where do you put the CGIs?
Started by
candide
, May 10 2008 09:57 PM
#1
Posted 10 May 2008 - 09:57 PM
While we are on the subject, I would welcome suggestions on where I can contain the simplest CGI to allow a user to upload a file. I should mention that there are only a small number of users, all of whom are trusted, and that my OS is XP.
#2
Posted 11 May 2008 - 07:46 AM
if you use a server and have a www directory, you should place all CGI's in the cgi-bin directory
drwxr-xr-x 5 root root 4096 2007-12-29 11:38 cgi-bin
bsbaker{pts/0}:/var/www>
(above is an example from a linux box I am a user of)
In linux, it resides in /var/www - However, it may reside in wwwroot or www, or whatever your config files state. All CGI's go in the cgi-bin directory - however, I am not sure if a password is required for CGI's to work, but your could have a password protected secure directory for your users, if your configs are set up for this. Make sure your permissions are set properly
Good Luck!!!
Brian
drwxr-xr-x 5 root root 4096 2007-12-29 11:38 cgi-bin
bsbaker{pts/0}:/var/www>
(above is an example from a linux box I am a user of)
In linux, it resides in /var/www - However, it may reside in wwwroot or www, or whatever your config files state. All CGI's go in the cgi-bin directory - however, I am not sure if a password is required for CGI's to work, but your could have a password protected secure directory for your users, if your configs are set up for this. Make sure your permissions are set properly
Good Luck!!!
Brian
Similar Topics
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users