.htaccess & dreamhost - error combining two parts [solved] |
[eluser]Diggory Laycock[/eluser]
Hi, Sorry, yet another .htaccess issue - I was hoping someone could help me figure out what I'm doing wrong. Here's the scenario: I've got a standard htaccess format that I use for my codeigniter sites that normally works very well: e.g. Code: <IfModule mod_rewrite.c> I've been using this on a site I've had in development for a client. The site is hosted at DreamHost, and while in development the site was hidden in a subdirectory of the web root: i.e. http://www.myclient.com/staging/ and it was all working well. The site allows the client to upload his own videos. DreamHost's default php.ini has a relatively small max_upload - so in order to allow the client to upload larger videos I had to place an .htaccess file in the web root of the site which runs php files with a custom php wrapper as per this page: http://wiki.dreamhost.com/index.php/PHP.ini Code: Action php-cgi /cgi-bin/php-wrapper.cgi That all worked well - and the upload limit was enlarged as per my custom php.ini However - once the site was to go live - the codeingiter directory became the same as the web root - so I need to combine these two .htaccess files. I assumed I could just combine them as so: Code: Action php-cgi /cgi-bin/php-wrapper.cgi Alas - this doesn't appear to work - if I use either of them on their own they work - but if I combine the directives into one file I get the following: Quote:Internal Server Error I'm a bit mystified by why this should happen. Has anyone got any ideas? Thanks. |
Messages In This Thread |
.htaccess & dreamhost - error combining two parts [solved] - by El Forum - 11-25-2008, 08:29 AM
.htaccess & dreamhost - error combining two parts [solved] - by El Forum - 11-25-2008, 09:13 AM
.htaccess & dreamhost - error combining two parts [solved] - by El Forum - 11-25-2008, 09:20 AM
.htaccess & dreamhost - error combining two parts [solved] - by El Forum - 11-25-2008, 10:10 AM
.htaccess & dreamhost - error combining two parts [solved] - by El Forum - 11-25-2008, 10:30 AM
.htaccess & dreamhost - error combining two parts [solved] - by El Forum - 01-28-2009, 11:14 AM
.htaccess & dreamhost - error combining two parts [solved] - by El Forum - 01-29-2009, 04:41 AM
.htaccess & dreamhost - error combining two parts [solved] - by El Forum - 10-22-2010, 04:50 PM
|