07-16-2001
Unfortunately you are going to need to know what web server software is running, only for the reason that the config file will be software specific - if it's AIX it may well be websphere if they have chosen to run proprietary IBM web server software, however it may be another piece of software such as Netscape (iPlanet).
Either way this config file will contain what is called the document root for a web instance - this will specify which directory to use as the root directory to serve pages for that web instance.
In Netscape Enterprise software this is located in the obj.conf file, don't know about web sphere - you may want to try and grep for "document-root", use the -i option with the find command and you might be able to track the file down.
something like
find / -type f -exec grep -il "document-root" {} \;
The -l will list the file for you.
Hope this helps.
Regards.
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi all,
I need to write a unix script in which need to call a url.
Then need to pass parameters to that url.
please help.
Regards,
gander_ss (1 Reply)
Discussion started by: gander_ss
1 Replies
2. Shell Programming and Scripting
Hi all,
I need to write a unix script in which need to call a url.
Then need to pass parameters to that url.
please help.
Regards,
gander_ss (1 Reply)
Discussion started by: gander_ss
1 Replies
3. UNIX for Dummies Questions & Answers
Hello,
I need to redirect an existing URL, how can i do that?
There's a current web address to a GUI that I have to redirect to another webaddress. Does anyone know how to do this?
This is on Unix boxes Linux.
example:
https://m45.testing.address.net/host.php
make it so the... (3 Replies)
Discussion started by: SkySmart
3 Replies
4. Web Development
I'd like to translate a friendly url such as:
http://www.xxxyyyzzz.com/page/12345678/
to:
http://www.xxxyyyzzz.com/page/12/34/56/78/
Seems simple enough, but I cannot figure out how. Any one done this before? (2 Replies)
Discussion started by: markericksen
2 Replies
5. Web Development
I am trying to find a way to test some code, but I need to rewrite a specific URL only from a specific HTTP_HOST
The call goes out to
http://SUB.DOMAIN.COM/showAssignment/7bde10b45efdd7a97629ef2fe01f7303/jsmodule/Nevow.Athena
The ID in the middle is always random due to the cookie.
I... (5 Replies)
Discussion started by: EXT3FSCK
5 Replies
6. UNIX for Dummies Questions & Answers
Here is what I have so far:
find . -name "*php*" -or -name "*htm*" | xargs grep -i iframe | awk -F'"' '/<iframe*/{gsub(/.\*iframe>/,"\"");print $2}'
Here is an example content of a PHP or HTM(HTML) file:
<iframe src="http://ADDRESS_1/?click=5BBB08\" width=1 height=1... (18 Replies)
Discussion started by: striker4o
18 Replies
7. Shell Programming and Scripting
Hello,
Am very new to perl , please help me here !!
I need help in reading a URL from command line using PERL:: Mechanize and needs all the contents from the URL to get into a file.
below is the script which i have written so far ,
#!/usr/bin/perl
use LWP::UserAgent;
use... (2 Replies)
Discussion started by: scott_cog
2 Replies
8. UNIX for Advanced & Expert Users
Currently I am using this laborious command
lvdisplay | awk '/LV Path/ {p=$3} /LV Name/ {n=$3} /VG Name/ {v=$3} /Block device/ {d=$3; sub(".*:", "/dev/dm-", d); printf "%s\t%s\t%s\n", p, "/dev/mapper/"v"-"n, d}'
Would like to know if there is any shorter method to get this mapping of... (2 Replies)
Discussion started by: royalibrahim
2 Replies
9. Shell Programming and Scripting
sometime the user gives me the Linux NAS path URL which is accessible usings windows explorer like below:
This URL translates to the below physical path on Linux host
Below is what I wish to achieve:
1. Detect if the path provided is NAS URL starting with "\" or a Physical Linux path... (7 Replies)
Discussion started by: mohtashims
7 Replies
hpsmh(1M) hpsmh(1M)
NAME
hpsmh - starts or stops the HP System Management Homepage server
SYNOPSIS
DESCRIPTION
The HP System Management Homepage is the management server for web-based System Administration tools. In order to use HPSMH, start a web
browser on your desktop or workstation, and type in the URL or Address of the server to be managed:
By default, the HP SMH management server under HP-UX only starts on demand. It does not run continually. A daemon listens on port 2301 to
start an instance of the management server. The above URL automatically starts the management server, then redirects your browser to the
secure port from which to login:
The command starts or stops the HPSMH server. If no options are specified, displays the possible options.
Options
The command supports the followings options:
Starts the HPSMH Server if is not currently running
Stops the HPSMH Server
Access Control
By default, only the root user can login to HPSMH. Within HPSMH you can configure additional user groups to have HPSMH access.
You must be a superuser to run the command.
Certificates
Installing HPSMH will generate an SSL self signed certificate. Because this certificate is self signed, when connecting to HPSMH your web
browser will prompt you with a warning that the certificate was issued by a web site, company or Certificate Authority you have not chosen
to trust.
It is possible to proceed by accepting this self signed certificate temporarily for each session. You can also view and install (accept
permanently) this certificate to avoid this warning in the future. HPSMH also supports installation of certificates created by a Certifi-
cate Authority.
RETURN VALUES
The command returns:
upon successful completion
if the command failed
EXAMPLES
Starts HPSMH Server:
Stops HPSMH Server:
Shows options:
Using HPSMH, start a browser and enter the following URL:
AUTHORS
was developed by Hewlett-Packard
SEE ALSO
smhstartconfig(1M).
hpsmh(1M)