473,396 Members | 2,013 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Permissions for serving a folder over 2 different aliases

Hello Apache Experts.
I am new to Apache httpd configuration and got stuck with one issue related to serving a folder in different manner over different aliases. Please find the details below.

Apache version being used: Apache/2.2.11 (Unix) and Apache/2.2.14 (Win32).
There is a folder (say /path/to/parent/folder/in/question) which inaccessible to clients using the following URL:
http://myhost:myport/alias1/parent/folder/in/question
I checked the conf/extra/app-alias1.conf file (which ultimately was included by additions.conf and therefore by httpd.conf) and found the following configuration:
Expand|Select|Wrap|Line Numbers
  1. <Directory "/path/to/parent/folder/in/question">
  2.    AllowOverride None
  3.    deny from all
  4. </Directory>
  5.  
So I created a new alias and added the following in the app-alias2.conf (again included in additions.conf - before addition of app-alias1.conf - and ultimately in httpd.conf):
Expand|Select|Wrap|Line Numbers
  1. <Directory "/path/to/parent/folder/in/question">
  2.    AllowOverride None
  3.    allow from all
  4. </Directory>
  5.  
Then I restarted httpd ("apachectl graceful" on Unix) and tried accessing the URL: http://myhost:myport/alias2/parent/folder/in/question

But it was still inaccessible. So I changed LogLevel in httpd.conf to "debug" (it was "warn" earlier) and restarted again. The error log displayed:
client denied by server configuration: /path/to/parent/folder/in/question

So my question is: How do I serve a folder over another alias if it is denied from one ? I only have the permissions/directions to modify app-alias2.conf (except for the LogLevel and includes). Would this be doable without the need to modify app-alias1.conf ?

Thanks in advance for any help,
Parag Doke
Mar 25 '10 #1
1 1987
Any pointers anyone?
Mar 28 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: !!! Klutzo !!! | last post by:
I give permissions for ASPNET on a top level subdirectory. A windows program copies a file into the subdirectory, however, my web service cannot access the file because it does not have...
0
by: Michael J. Bigos | last post by:
Has anyone else come across this? We are building an ASP.Net application that uses a certficate in the local machine store to sign XML data before transmitting it to a third-party. The third...
2
by: Brian Cooper | last post by:
I am trying to determine a permission problem trying to write a text file from one web server to another. Here is the situation: We have two domains in place one is Active Directory and the...
2
by: skinnybloke | last post by:
Hi - I have a file permissions problem with PHP. I am using a product called Actinic to develop a shopping cart. This creates a subfolder named ACATALOG into which it loads all of its files. The...
3
by: Corey B | last post by:
I have a web server running IIS 6. The network security team here has completely locked down the server. They have installed an application called Cisco Security Agent (CSA). What CSA does is...
0
by: drrubinai | last post by:
Dear All, While trying to access wed folders using a browser's http connection (defined as Aliases in httpd.conf file), I am getting the following error screen. Forbidden You don't have...
3
by: eholz1 | last post by:
Hello PHP Group, I am having trouble setting permissions correctly so that the magickwand api (php 5.2) can read and write images. I usually read a file from one directory, create a magickwand...
0
by: Zerotolerance | last post by:
Hello Everyone. This is my idea. I already have a shared folder over then network. Inside that folder I want to share another folder, but regulate who can access it. I have already...
1
by: Bob | last post by:
Hello, I am developing a web application (to be used both in Internet and Intranet) and users are allowed to upload files. I need to choose the best method to handle permissions. Searching on...
3
by: sandromani | last post by:
Hello, I am working at a webbased file browser, where users will be able to access, rename, delete, etc files and folders. My question is, what is the best way to handle permissions /...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.