Tagged Questions
4
votes
1answer
937 views
How can I use .htaccess to rewrite different domains to different sub-directories, masking the sub-directory?
I have a shared hosting plan that allows unlimited addon domains, but they can only point to the public root (/). I use .htaccess to point different domains to their corresponding sub-directories. For ...
2
votes
1answer
131 views
How to hide download file from bots? [duplicate]
Possible Duplicate:
How to restrict the download of all files in a folder?
I want to make a private file available for download but not use username/password protection. I want to put the ...
1
vote
1answer
145 views
.htaccess Forward all mail subdomains to /webmail/
I would like to write a .htaccess rewrite command that takes any url with a subdomain mail and forwards them to whatever domain included that subdomain with /webmail at the end.
e.g.
mail.zane.com ...
1
vote
2answers
76 views
Full password not required to access password protected directory?
I password protected a directory in cPanel. When I went to access the page in my browser, I accidentally hit backspace on the password before I hit enter. Surprisingly, the page still loaded. I played ...
0
votes
1answer
147 views
Stop searches showing tld domain sites appearing as subdirectory of main holding site domain?
I'm not sure if this is a problem specific to how my hosting is structured or not.
Let's say the main domain for my account is maindomain.com (for purpose of discussion)
I am building other sites, ...
2
votes
2answers
1k views
Is it possible to force a directory index to display even if an index file exists?
On my Apache server I need to display a directory index of a given folder even if it already contains an index file that has been defined in DirectoryIndex. In this case an index.html file exists, but ...
4
votes
2answers
77 views
Restrict access to directories hosting different sites
My hosting provider requires that my primary domain (let's call it domainX.com) points to my public_html root. I also own several other domains (let's call them domainY.com and domainZ.com) that are ...
1
vote
1answer
470 views
HTAccess redirect directories to index.html
I am working on a site that where I do not have permission to the server and someone else keeps changing the settings. That person just changed the settings preventing users from going to ...
1
vote
1answer
665 views
How secure is using .htpasswd to secure a directory?
I'm basically creating something off of my main domain www.mywebsite.com/intranet.
I've created .htpasswd protection for that intranet directory.
I can't implement individual user passwords yet and ...