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
upsstats.cgi(8) Network UPS Tools (NUT) upsstats.cgi(8)
NAME
upsstats.cgi - Web-based UPS status viewer
SYNOPSIS
upsstats.cgi
NOTE
As a CGI program, this should be invoked through your web server. If you run it from the command line, it will either complain about unau-
thorized access or spew a bunch of HTML at you.
DESCRIPTION
upsstats.cgi uses template files to build web pages containing status information from UPS hardware. It can repeat sections of those tem-
plate files to monitor several UPSes simultaneously, or focus on a single UPS.
These templates can also include references to upsimage.cgi(8) for graphical displays of battery charge levels, voltage readings, and the
UPS load.
ACCESS CONTROL
upsstats will only talk to upsd(8) servers that have been defined in your hosts.conf(5). If it complains that "Access to that host is not
authorized", check that file first.
TEMPLATES
The web page that is displayed is actually a template containing commands to upsstats which are replaced by status information. The
default file used for the overview is upsstats.html.
When monitoring a single UPS, the file displayed is upsstats-single.html.
The format of these files, including the possible commands, is documented in upsstats.html(5).
FILES
hosts.conf(5) upsstats.html(5)
SEE ALSO
upsimage.cgi(8)
Internet resources:
The NUT (Network UPS Tools) home page: http://www.exploits.org/nut/
NUT mailing list archives and information: http://lists.exploits.org/
Mon Sep 2 2002 upsstats.cgi(8)