- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Apache Alias Configuration
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-07-2004 09:43 PM
тАО04-07-2004 09:43 PM
My HTTPD.CONF currently says :-
alias /webreport/ "/webreport$system/"
alias /WEBREPORT/ "/webreport$system/"
..which means that I have to enter the URL with a '/' on the end, i.e. "www.server.com/webreport/".
Can anyone tell me how I can set this up to work without the slash?
I've read through http://httpd.apache.org/docs/misc/FAQ.html#set-servername
, but couldn't make it work.
Cheers, Rob.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-07-2004 10:03 PM
тАО04-07-2004 10:03 PM
Re: Apache Alias Configuration
I have no other access to my webserver but I'm sure I have solved this.
On the other hand. the link you suplied tells me the answer in paragraph 9.
reading this, I conclude:
Alias /example/ /home/www/example/
will require trailing slash in the URL, where
Alias /example /home/www/example
does not.
My idea is: remove the trailing slashes.
OpenVMS Developer & System Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-07-2004 10:06 PM
тАО04-07-2004 10:06 PM
Re: Apache Alias Configuration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-07-2004 10:18 PM
тАО04-07-2004 10:18 PM
Re: Apache Alias Configuration
to get it straihgt:
Specified WITH trailing slash:
http://server/examples/ is Ok,
http://server/examples is NOT.
as expected.
WHAT is shown? Directory listing, or have you specified an index file (index.html, deafult.htm - whatever)
Specified WITHOUT trailing slash:
http://server/examples/ is NOT
http://server/examples is NOT
NOT = 404-page?
OpenVMS Developer & System Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-07-2004 10:36 PM
тАО04-07-2004 10:36 PM
Re: Apache Alias Configuration
alias /webreport "/webreport$system"
alias /WEBREPORT "/webreport$system"
URL is :-
http://gamma:8446/webreport
Response is :-
"Cannot find server or DNS Error
Internet Explorer"
"10.110.16.239 - raa [08/Apr/2004:11:19:49 +0000] "GET /webreport HTTP/1.1" 301 329"
Rob.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-07-2004 10:59 PM
тАО04-07-2004 10:59 PM
Re: Apache Alias Configuration
I assume gamma has a domain as well:
http://gamma.domain.tld:8446/webreport
given that the fully qualified name is known in DNS or in the local HOST file of gamma itself.
Given the apache documentation, APACHE will try to redirect and tell the client what to use exactly. It must therefore know the server name. Either by 'guessing' - using DNS, probably - or you tell it - by the Servername directive.
OpenVMS Developer & System Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-07-2004 11:03 PM
тАО04-07-2004 11:03 PM
Re: Apache Alias Configuration
http://gamma.tbs-ltd.co.uk:8446/webreport, but still the same error.
I also have a 'ServerName' directive, but this doesn't help either :-
ServerName gamma.tbs-ltd.co.uk
Rob.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2004 01:13 AM
тАО04-08-2004 01:13 AM
Re: Apache Alias Configuration
I still have the feeling (based on the Pacahe documentation) it's a matter of resolving names/adresses.
Check on gamma what DNS returns on it's own names (with and without domain) using NSLOOKUP and/or DIG. probably it will be Ok, but just to rule things out.
Do you run BIND on gamma as well, or do you use an external DNS only? It may be worthwile to check these as well. Beware of case! I would be surprised if case mattered.
I'l have a look on my server tonight. Stay tuned.
Willem
OpenVMS Developer & System Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2004 10:28 PM
тАО04-08-2004 10:28 PM
Re: Apache Alias Configuration
Link to apache hint write as follows:
alias /webreport "/webreport$system"
without trailing slash on both names.
On my local test system works this one too:
alias /webreport "/webreport$system/"
@Antoniov
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-10-2004 02:53 AM
тАО04-10-2004 02:53 AM
SolutionI think webreport$system is a logical name; don't forgot apache is projected for Unix so can't recognize reference. For example in ftp (also designed for Unix) if you type
cd webreport$system
doesn't work while typing
cd webreport$system:
works fine.
May be same problem on apache. Perhaps you could write
alias /webreport "webreport$system:/"
@Antoniov
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-10-2004 06:44 AM - last edited on тАО09-16-2024 02:19 AM by support_s
тАО04-10-2004 06:44 AM - last edited on тАО09-16-2024 02:19 AM by support_s
Re: Apache Alias Configuration
Just checked: I have my aliases with trailing slashed, currently - opposed to what I thought :-((
Anyway, I'll try to find out.
OpenVMS Developer & System Manager
- Tags:
- Virtual Connect