I only want to show the content for myself, how do I configure the apache?
I'm using proxy to visit the site.
I can't do it with iptables for priviledge reasons..
I only want to show the content for myself, how do I configure the apache?
I'm using proxy to visit the site.
I can't do it with iptables for priviledge reasons..
[root@ test_project]$ touch test.txt
[root@ test_project]$ ll test.txt
-rw-rw-r-- 1 root root 0 2011-08-03 13:57 test.txt
Currently it seems to be 664
,how can I change it to 700
?
I used to do yum install xcodebuild
,but now getting this error:
You need to be root to perform this command.
How can I install it without the root privilege?
mod_perl
provides a way to run perl scripts in httpd.conf
:
<perl>
...scripts goes here...
</perl>
How do I configure httpd.conf
so that scripts inside <perl></perl>
only get run if there's a flag
parameter in the querystring?
<Location /status>
SetHandler server-status
order deny,allow
allow from all
</Location>
But when I visit http://ip:port/status
,
a 404 Not Found
is reported, why?
I'm now configuring Apache this way:
AddHandler cgi-script cgi pl
So that .pl
will be interpreted as CGI script.
How can I make it run as mod_perl
instead?
I want to set some environment only for a specific IP,how to do that in Apache?
in tmp
I type a single character,but wc -c
shows 2
,why?
read /dev/urandom 3
The above is not working..How can I read random bytes from /dev/urandom
in bash?
This is one entry of the output of who
:
yang pts/6 2011-06-22 09:25 (10.231.22.12)
Is there a way to send a message there?