Forum Moderators: phranque

Message Too Old, No Replies

directory outsite document root

         

sakrina

11:24 am on Dec 31, 2006 (gmt 0)

10+ Year Member



my doc root is /home/usera/www/

is there a way so only the domain admin can access a directory lets say in /home/usera/test

with the directive <directory><files> or <location> or is the only way to do this be moving /test into www/ and password it?

jdMorgan

5:12 pm on Dec 31, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Do you have server configuration access? If not, your solutions are more limited.

However, you can use mod_access to limit access by IP address, username, and/or password, even if all you have is .htaccess-level permissions.

Jim

sakrina

11:56 am on Jan 2, 2007 (gmt 0)

10+ Year Member



yep full server access
but the problem is
documentroot is /home/usera/www
and the folder i try to map is /home/usera/usage

i can simple make a php script what reads in the index.html from/home/usera/usage but then all pics are broken.

i try to make kinda sam as with a script

script alias /cgi-sys/ "/var/cgi-sys"
<directory /cgi-sys/>
</directory>

but if i try this with a simple html i get script error.. what kinda makes sense.