01-06-2012
I know you want to do it via webpage. That's why you have to worry about all these permissions -- the script is being run by the webserver, not by you. It can only access things belonging to the apache group or the apache user. It it doesn't have access to your files, folders, or keys. If you make them belong to apache, or create copies belonging to apache, it can access those.
Please answer my questions so I can help you.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I have a shell script with code
. perf.env
cd $QRY_DIR
for SHELL_FILE in sql1
do
export SNAME=$SHELL_FILE
${SCRIPT_DIR}/perf_qry.sh ${SPOOL_DIR} ${DB_ENVNAME} ${NAME} &
RC=$(expr ${RC:-0} + $? )
sleep 60
if
then
echo sysdate>test1
echo query1.txt>>test1
grep -i... (0 Replies)
Discussion started by: ran16
0 Replies
2. Shell Programming and Scripting
Hi,
I have a shell script with code
. perf.env
cd $QRY_DIR
for SHELL_FILE in sql1
do
export SNAME=$SHELL_FILE
${SCRIPT_DIR}/perf_qry.sh ${SPOOL_DIR} ${DB_ENVNAME} ${NAME} &
RC=$(expr ${RC:-0} + $? )
sleep 60
if
then
echo sysdate>test1
echo query1.txt>>test1
grep -i... (6 Replies)
Discussion started by: ran16
6 Replies
3. Solaris
Hi,
I want to run a crontab job on solaris 10.5. I have configured the crontab accordingly
10 * * * * /scripts/dbalter.pl >> /scripts/cronout.txt
However this does not work .Then I go to /var/mail/root and find an error in the output:
From root@myserver Wed Feb 4 17:02:00 2009... (1 Reply)
Discussion started by: sonu2die4
1 Replies
4. UNIX Desktop Questions & Answers
Hello everyone,
I have developed a cgi application on windows. i have created a folder in webapps of tomcat, within that a WEB-INF folder and in that cgi folder.
This cgi folder contains one executable. The web.xml is as follows: <servlet>
<servlet-name>cgi</servlet-name>
... (2 Replies)
Discussion started by: Preeti_t
2 Replies
5. Shell Programming and Scripting
I got the below error when using the below code...it seem that perl interpret the "'" in the middle and therefore the pipe is not finished.
perl -wle '
@a=`who| perl -wlane 'print \$F;' | sort -u` ;
chomp @a ;
print @a;
'
the error message in cygwin is:-
perl: No match.
| sort... (12 Replies)
Discussion started by: ahmad.diab
12 Replies
6. Web Development
Hi,
I am trying to implement a server monitoring dashboard using cgi scripting. I am planning to run the necessary unix scripts from the web page using cgi. This method works fine for standard unix commands but I am unable to run some external unix commands (like swadm show_processes, swadm... (9 Replies)
Discussion started by: jofinjoseph
9 Replies
7. Web Development
Can anyone tell me how to export a variable from one perl CGI script to another perl cgi script when using a redirect.
Upon running the login.pl the user is prompted to enter user name and password. Upon entering the correct credentials (admin/admin) the user is
redirected to welcome page.
My... (3 Replies)
Discussion started by: Arun_Linux
3 Replies
8. Shell Programming and Scripting
Hi team,
I have a typical problem with cgi pages in apache webserver in WINDOWS
I am able to execute(display) the pages that are saved in cgi-bin folder.
But I am not able to execute the pages stored in htdocs or other folder other than cgi-bin folder.
Could anyone please let me know how... (1 Reply)
Discussion started by: scriptscript
1 Replies
9. Shell Programming and Scripting
Hi All,
I have written an cgi perl script that displays an image(Excel image) and when clicked on that Image I need to download a excel sheet.
I made sure that excel sheet exists in the folder with the given name but still I am not able to download the sheet.
print "<center><table... (2 Replies)
Discussion started by: scriptscript
2 Replies
10. Shell Programming and Scripting
I don't know to debug the program todaylive.pl program.
plz someone let me know what are the commands I need to know to debug the perl programs to find out the error on it. (3 Replies)
Discussion started by: ramkumar15
3 Replies
LEARN ABOUT DEBIAN
jailer.conf
JAILER(5) File Formats Manual JAILER(5)
NAME
jailer.conf - configuration file of jailer
SYNOPSIS
jailer.conf
DESCRIPTION
jailer is a script for creating chrooted environments for Debian packages.
jailer.conf is the configuration file for jailer.conf
Every configuration definition has to start and end with a jail identifier, which should be unique and be in brackets.
<apache>
For example, an Apache chroot identifier should look like this:
</apache>
The identifier use needs to be closed.
The configuration for the chroot instance is defined inside these identifiers. The following lines can be used to describe the con-
figuration:
Root: /var/chroot/apache
This line describes the PATH of the chrooted enviroment.
Conf:
This line describes the PATH or PATH/filename which should be copied over to the chrooted environment. For example Conf:
/etc/apache/* , which uses a wild card.
Debs:
This line contains the name of those Debian packages which should be installed into the chrooted environment.
Junk-Debs:
This line contains those deb packages which should not be installed into the chrooted environment.
Junk:
This line contains those files or directories which should not be installed. For example /lib/* means all files and links under /lib
should not be installed, while /lib/libconsole.so.0.0.0 means a file which should not to be installed.
Extra:
This line contains those files or directories which should be installed into the chrooted environment. For example: /var/run will
install that a directory which is needed for the chrooted service.
WARNING
Do not configure your daemon inside your jail, because updatejail script will wipe out all the data inside the jail. If you would want to
change any settings inside the jail, make the changes in the original location and then run updatejail . This makes it possible to place a
jail even to a ramdisk.
SEE ALSO
updatejail(8) jailer.conf(5), dpkg(8)
AUTHOR
This manual page was written by Peter Holtzl <peter.holtzl@balabit.hu>.
December 4, 2001 JAILER(5)