10 More Discussions You Might Find Interesting
1. Linux
Hello all,
I have several vhost and not sure which vhost is serving the requests to my url
http://www.mydomain.tld i have ssh access to the web server
is there a way e.g curl to know exactly which vhost served the request.
one of my friend suggested logs but i want to find another... (4 Replies)
Discussion started by: coolatt
4 Replies
2. Web Development
Hi I have vhosts configured for my sites like:
<VirtualHost ip_abc:8081>
........
.....
....
</VirtualHost>
Now I have added a new vhost but on entering the same information on some other port say:
<VirtualHost ip_abc:8082>
........
.....
....
</VirtualHost> (2 Replies)
Discussion started by: ankur328
2 Replies
3. Web Development
I am a total newbie to Apache. I need to do this only for this weekend during an upgrade from old system to new system
We have different URLs http://domain.name/xxx (xxx varies to any length and words - it can be /home, /login, /home/daily, /daily/report, etc).
How do i redirect all those to... (0 Replies)
Discussion started by: GosarJunk
0 Replies
4. Web Development
Hi All,
I have my URL as
http://mysite.com/shop/maternity/tops_30116
Now I want to append "?No=0&Nrpp=100" and then redirect to
http://mysite.com/shop/maternity/tops_30116?No=0&Nrpp=100
This is for many URL which have "maternity" inside them.
Can there be a single Redirect... (0 Replies)
Discussion started by: ankur328
0 Replies
5. Shell Programming and Scripting
Hi,
I am currently redirecting all mobile devices to my mobile site in apache. I need to exempt the following file types from redirecting even if the request is made from a mobile device.
*.css
*.jpg
*.jpeg
*.gif
*.js
Does anyone know where and what I need to do for this? Thanks in... (1 Reply)
Discussion started by: kmaq7621
1 Replies
6. Red Hat
I have a test setup running apache 2.2. I'm just serving up some images to my dekstop.
I can't get apache to use my second vhost entry.. I know both entries work as I switched them around in my vhosts.conf. I just can't use them both at the same time.
Can someone help me please?
my... (0 Replies)
Discussion started by: general_lee
0 Replies
7. Shell Programming and Scripting
Hey Guys,
I need to copy some files from my Apache server to SMB share ...
copy $file,"/Volumes/v1/x/test/$datestamp$name$suffix"
Unfortunately this command when executed from Apache/cgi-bin is not able to access mounted volumes .. is there anything that can be done about that ... Can... (1 Reply)
Discussion started by: NDxiak
1 Replies
8. Solaris
Hi All,
Sorry if the question is trivial for you but, I am new to Apache (2.0.63) and am trying to figure out how to display my 400.cgi. Here is what I have in httpd.conf
servername testing
DocumentRoot "/usr/local/apache2/htdocs"
ErrorDocument 400 /cgi-bin/badrequest-400.cgi
Here is... (0 Replies)
Discussion started by: afadaghi
0 Replies
9. Linux
I'm trying to set up a nagios server.
I have no problem accessing the home page of my nagios server, but can not get into any cgi page.
I've checked the rights, and checked the .htacces file in the /usr/lib/nagios/cgi directory
I've checked all conf files for apache, but i unvariably get:... (2 Replies)
Discussion started by: penguin-friend
2 Replies
10. UNIX for Dummies Questions & Answers
Can any body help me with apache and cgi
i'dont know how iconfigure apache to use cgi...
and when i try to start apachectl it says there is no file...
please help me...i have apache installed... (1 Reply)
Discussion started by: CreamHarry
1 Replies
UPSSET.CONF(5) NUT Manual UPSSET.CONF(5)
NAME
upsset.conf - Configuration for Network UPS Tools upsset.cgi
DESCRIPTION
This file only does one job--it lets you convince upsset.cgi(8) that your system's CGI directory is secure. The program will not run until
this file has been properly defined.
SECURITY REQUIREMENTS
upsset.cgi(8) allows you to try login name and password combinations. There is no rate limiting, as the program shuts down between every
request. Such is the nature of CGI programs.
Normally, attackers would not be able to access your upsd(8) server directly as it would be protected by the LISTEN directives in your
upsd.conf(5) file, tcp-wrappers (if available when NUT was built), and hopefully local firewall settings in your OS.
upsset runs on your web server, so upsd will see it as a connection from a host on an internal network. It doesn't know that the connection
is actually coming from someone on the outside. This is why you must secure it.
On Apache, you can use the .htaccess file or put the directives in your httpd.conf. It looks something like this, assuming the .htaccess
method:
<Files upsset.cgi>
deny from all
allow from your.network.addresses
</Files>
You will probably have to set "AllowOverride Limit" for this directory in your server-level configuration file as well.
If this doesn't make sense, then stop reading and leave this program alone. It's not something you absolutely need to have anyway.
Assuming you have all this done, and it actually works (test it!), then you may add the following directive to this file:
I_HAVE_SECURED_MY_CGI_DIRECTORY
If you lie to the program and someone beats on your upsd through your web server, don't blame me.
SEE ALSO
upsset.cgi(8)
Internet resources:
The NUT (Network UPS Tools) home page: http://www.networkupstools.org/
Network UPS Tools 05/22/2012 UPSSET.CONF(5)