Join 3,494 readers in helping fund MetaFilter (Hide)

20 posts tagged with htaccess and Apache. (View popular tags)
Displaying 1 through 20 of 20. Subscribe:

I need to redirect about 10,000 URLs

I've got to 301 redirect URLs for roughly 10,000 pages on a pair of Drupal sites. That seems like a lot to stuff into .htaccess. Are there better alternatives? [more inside]
posted by mph on Jun 6, 2012 - 7 answers

Block browser access to files on server

How can I block browser access to MP3 files, yet allow streaming? [more inside]
posted by ascetic on Feb 24, 2012 - 4 answers

htaccess redirect problem

Newbie .htaccess problem [more inside]
posted by Paragon on Oct 21, 2010 - 18 answers

htpassword woes...

How do I use htaccess to manage user access across multiple sites with the same code base...? [more inside]
posted by sodium lights the horizon on Jul 15, 2010 - 5 answers

Make .htaccess redirect to a home domain without recursion

I need some .htaccess help in redirecting all web requests to a single home page. [more inside]
posted by Aquaman on Jul 7, 2010 - 4 answers

Please help me redirect visitors to my blog, from a subdomain to a subdirectory...

I have a blog, which I did have available at blog.example.com. I have recently moved it to be a subdirectory of my main site www.example.com/blog. I am having some trouble with redirecting old links from the subdomain across the the new main site subdirectory, and I really need some help to get it working right. can someone help me craft a .htaccess file to handle the redirects?
posted by Scramblejam on Dec 19, 2008 - 5 answers

Restricting access to a symbolically-linked path using htaccess

Can I restrict access to a symbolically-linked path using htaccess? [more inside]
posted by jpoulos on Oct 14, 2008 - 1 answer

two folders two domains one website

Two domain names loading the same website - only the websites aren't being served from the same folder, despite the fact that they are served from the same server. There exist two folders: users on a Unix machine. How can I get both domain names to serve up the website from the same folder? And is there any reason I should NOT do this? [more inside]
posted by dance on Oct 1, 2008 - 6 answers

Can I combine htaccess and session variables from other systems?

Web server question. Can I combine htaccess and session variables from other systems? (more inside) [more inside]
posted by jpoulos on Jul 23, 2008 - 6 answers

.htaccess files and groups

I'm configuring some htaccess files for multiple directories and I'm having some problems incorporating groups of authorized users. [more inside]
posted by chillmost on Jul 11, 2008 - 2 answers

htaccess and description column

I would like to use .htaccess to pull out a specific part of a filename and display it in the "Description" column of a file directory on an apache web server. [more inside]
posted by maxwelton on Jul 10, 2008 - 1 answer

Redirect images & mp3s to mirror via htaccess

How do I redirect all my website's images and mp3s to another domain via .htaccess? [more inside]
posted by frenetic on Jun 26, 2008 - 6 answers

getting .htaccess to do httpd.conf's job

Mod_rewrite and subdirectories and subdomains, oh my! [more inside]
posted by holgate on Jun 2, 2008 - 8 answers

Why is Apache not listing any files in an open directory?

I've been helping my friend setup his personal website and we have been muddling through with plenty of help from google and a little bit of luck. But recently, I've been stumped by a persistent problem with a directory containing some files. Here's the scenario - my friend shares his RSS reading list as an OPML file. In addition, he wants to try and show how his reading list has evolved by archiving older versions of his reading list in a folder. He also wants to allow other people to browse this archive folder. It seemed like we should be able to achieve this using .htaccess files, but unfortunately it's not working like we expected. [more inside]
posted by your mildly obsessive average geek on Mar 25, 2008 - 4 answers

%{QUERY_STRING} the Hivemind

Mod_rewrite & query strings: Just when I thought I had it figured out... [more inside]
posted by romakimmy on Feb 20, 2008 - 8 answers

Redirecting with htaccess

Taking a site offline with .htaccess. I have a server which is running in production, but I want to take it offline for some maintenance. While I want everyone who calls at any URL to be redirected to index.html, I want admins to be able to view the site in full. [more inside]
posted by fightorflight on Jan 3, 2007 - 6 answers

How to redirect RSS feeds to a new location?

I have a Moveable Type weblog. I would like to redirect the feeds. This probably involves using .htaccess and mod_rewrite. My mind has grown weary after two hours of trying to get this to work. Can anyone offer advice? [more inside]
posted by jdroth on Oct 25, 2006 - 4 answers

htaccess syntax woes

I need to add a few lines to my htaccess file to deal with the fact that Google Image Search never updates its database [more inside]
posted by sindark on Sep 18, 2006 - 16 answers

Hardcore Apache question: How to have an .htaccess file pull from WordPress?

Hardcore Apache question: How can I write an .htaccess file that will apply a RewriteRule to only the most recent file posted to my Wordpress blog? [more inside]
posted by tweebiscuit on Jul 24, 2006 - 13 answers

htaccess problem.

Will the lines [shown inside] in the .htaccess file cause ANY url of the form www.example.com/filename to be matched and rewritten to www.example.com/m2.php?pg=filename? [more inside]
posted by billsaysthis on Jan 11, 2004 - 15 answers

Page: 1