GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Apache 1.3 not finding images via Aliases
Operating System - HP-UX
1843745
Members
3013
Online
110223
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
02-25-2004 11:15 PM
02-25-2004 11:15 PM
Apache 1.3 not finding images via Aliases
We have a web based application that relies on an alias within Apache version 1.3 runnon on HP-UX 11. The alias (defined in /opt/apache/conf/httpd.conf) is as follows:
Alias /images "/ptrain/app/images"
However the images are not being found by apache.
The folder does exist, and has read permission. The images are present in that folder.
We did notice that in the /opt/apache/logs/error_log file that apache is trying to find the images within:
/opt/apache/htdocs/images/image1.gif
for example.
When you look at the properties of the non-found image within Internet Explorer the image property is:
http://server/images/image1.gif
We have tried copying the images folder within htdocs, but this still does not solve the problem.
Alias /images "/ptrain/app/images"
However the images are not being found by apache.
The folder does exist, and has read permission. The images are present in that folder.
We did notice that in the /opt/apache/logs/error_log file that apache is trying to find the images within:
/opt/apache/htdocs/images/image1.gif
for example.
When you look at the properties of the non-found image within Internet Explorer the image property is:
http://server/images/image1.gif
We have tried copying the images folder within htdocs, but this still does not solve the problem.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2004 11:56 PM
02-25-2004 11:56 PM
Re: Apache 1.3 not finding images via Aliases
Hi,
It sounds like a problem in your httpd.conf file, you can compare your currect setup to mine:
DocumentRoot "/opt/www/html"
Options FollowSymLinks
AllowOverride None
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
Alias /icons/ "/opt/www/icons/"
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
My icons directory is owned (chown -R) by the user/group that runs apache and has 750 permissions (chmod -R).
I can access any icon in that directory by following the link:
http://servername/icons/image1.gif
Please post the relevant parts of your httpd.conf and exact error message if you still have problems.
HTH
Robert
It sounds like a problem in your httpd.conf file, you can compare your currect setup to mine:
DocumentRoot "/opt/www/html"
Options FollowSymLinks
AllowOverride None
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
Alias /icons/ "/opt/www/icons/"
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
My icons directory is owned (chown -R) by the user/group that runs apache and has 750 permissions (chmod -R).
I can access any icon in that directory by following the link:
http://servername/icons/image1.gif
Please post the relevant parts of your httpd.conf and exact error message if you still have problems.
HTH
Robert
linux: the choice of a GNU generation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2004 01:14 AM
02-26-2004 01:14 AM
Re: Apache 1.3 not finding images via Aliases
Thanks Robert for your help.
We had just solved the problem and response concurs with what we found.
The image directories need the x attribute.
Even though root was running Appache and the files in question were set to 644 we needed to change to 755 in the dirs.
Thanks again,
Matt.
We had just solved the problem and response concurs with what we found.
The image directories need the x attribute.
Even though root was running Appache and the files in question were set to 644 we needed to change to 755 in the dirs.
Thanks again,
Matt.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP