![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| $PWD shows absolute path vs path w/symbolic links | kornshellmaven | Shell Programming and Scripting | 3 | 06-13-2007 09:15 AM |
| getting full path from relative path | polypus | Shell Programming and Scripting | 4 | 03-25-2007 09:08 AM |
| how to check the actual path instead of link path | reldb | UNIX for Advanced & Expert Users | 4 | 10-04-2006 06:55 AM |
| vi - replacing a relative path with absolute path in a file | Yinzer955i | UNIX for Dummies Questions & Answers | 2 | 09-07-2006 08:47 AM |
| cc path problem - no acceptable path found | kendokendokendo | UNIX for Dummies Questions & Answers | 2 | 09-12-2005 06:52 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
default url path
flavor AIX
where oh where do I set the default url path? at one point and time the path was set to a specific dir, i.e. when I access http://server.com/page.html I am hitting a page saved off in dir1/dir2/dir3/page.html. but, how do I alter that default path? I don't have a clue what web app is running on this box, although I have looked, I just don't know what I am looking for. Somewhere out there there has to be a config file that stores this default path. |
| Forum Sponsor | ||
|
|
|
|||
|
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. |
|
|||
|
If it is running apache, the config file will be named httpd.conf. To find it, execute this command, preferably as root
Code:
find / -name httpd.conf -print 2>/dev/null
__________________
[url=http://chuckb.1le.net/]My website[/url] |
|
|||
|
Is it AIX 4.3.3 ... It installed that some weeks ago and saw some processes httpdlite running ... the configuration file is under
/etc/IMNSearch/httpdlite/httpdlite.conf But I wasn't able to configure that server like I wanted .. So I installed apache instead |
|
|||
|
Thanks for all the help guys. I will search for the above files. I still don't know what web app I am using here. The box is AIX 4.2X and the "document-root" was set up when I started here. That default path was set up to a mounted CD-Rom that holds some Tech Libary info. So when accessing all but the main index.html your hitting info stored on the CD-Rom. After you toss in the fact that I don't see an obvious web app and the mounted CD-Rom access I am running around this box blind.
But there has to be some sort of web tool up and running to handle the url direction. I see some httpd4 processes running, but I don't get a new one per web page opened. I asked the old timer I am working with about the web app on the box and he told me to look for the spider application . . . *eye roll* His sense of humor is, at times, a bit out there . . . |
|
|||
|
Ahhh there is was . . . Apache. I found the httpd.conf, but it was a .cnf file and was saved deep in no man's land. Anyway I was hoping to alter the ServerRoot, but by doing this I would disable the path to the Tech Libary. . . I will have to live with my linked files and a few extra words in the urls of my pages.
Thanks again guys. Even though I wasn't able to get to where I wanted, I did learn a great deal! |
|||
| Google The UNIX and Linux Forums |