1
vote
1answer
60 views

How to secure open journal system original submission files

I have installed ojs in my own server. In the installation process, it is required to create a folder that is writable by php (apache = www-data), but not accessible from the browser. The folder is ...
0
votes
1answer
58 views

.htaccess - permissions forbidden

I have an error with a new virtual host that I can't figure out.. My .htaccess doesn't have web access (403). [Thu Oct 31 17:51:01 2013] [crit] [client ] (13)Permission denied: /srv/data_disk/www ...
2
votes
2answers
450 views

Setting permissions for mp4 and png files in .htaccess

First, I'm brand new to Apache .htaccess. I've got a server that must allow users to dive only into mp4 and png files. So, I've been reading Apache HTTP Server documentation and, according to what it ...
-3
votes
1answer
119 views

Protecting a chmodded 0777 cache directory?

A website I'm developing requires several directories to have their permissions set to 0777. The directories are used as cache directories for HTML and PHP files generated by the website. The ...
0
votes
4answers
455 views

403 Forbidden Access

Yesterday my supervisor mounted one of his directories onto my server. The problem is, I can't access them and I have no way of contacting him right now. When I type in the URL I get this error: ...
0
votes
1answer
353 views

password and ip restriction in htaccess

I am learning how to use htaccess. First I want to try how to set up username and password for the following directory ~/public_html/55/m: ~/public_html/55/m$ ls -la total 24 drwxr-xr-x 2 tim ...
0
votes
1answer
290 views

IIS7.5 Password Protected Directory Exceptions

I am having issues accessing a Magento API, as the magento folder is password protected. Is there a way to add an exception to this, so that any request to the API is allowed, but all other requests ...
0
votes
2answers
265 views

How do I configure Apache htaccess to allow access to a file on one domain and not another?

I have a fairly default Apache install on Ubuntu 10.10. There's no virtual hosting and I would rather not add that. All domains that map to that machine are therefore served by the default site and ...
2
votes
1answer
395 views

.htaccess Allow owner of home directory only?

Suppose I have a home directory "~someuser/www" which Apache (maintained by someone else than me) exposes as http://www.myserver.com/~someuser . If I want to limit this directory to certain users, I ...
1
vote
3answers
778 views

.htaccess and linux permissions

I have some inherited php code that I'm attempting to secure. However, removing execute permissions from the file upload directory throws a permissions error. Here's a quick rundown: apache points ...
0
votes
5answers
957 views

.htaccess Permission denied. Unable to check htaccess file

I have a strange problem when adding a sub-domain to our virtual server. I have done similar sub-domains before and they have worked fine. When I try to access the sub-domain I get an 403 Forbidden ...
1
vote
0answers
62 views

Serve a specific set of error pages for different subdirectories

I am currently trying to setup 2 different sets of Error documents for separate folders within a website. I have 2 folders within the root of a site: demo/ live/ Any requests that return 404's or ...
3
votes
2answers
103 views

determining if .htaccess is working

Following some guide on the web, I have created the following .htaccess for my WordPress installation: # protect the htaccess file <files .htaccess> order allow,deny deny from all ...
0
votes
4answers
2k views

Protected Apache web sub-directory asks for password twice

I have an Apache server with password-protected web directory. That directory has a sub-directory, which requires another password, but anyone who can access the sub-directory should have access to ...