CodeIgniter Forums

Full Version: I need a .htaccess for Dreamhost to include this. Any help?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2

El Forum

[eluser]MrWonderful[/eluser]
Here is what I need to do on dreamhost. I need to have a htaccess with these in it:
Code:
php_value upload_max_filesize 20M
php_value post_max_size 20M
php_value max_execution_time 200
php_value max_input_time 200

Dreamhost has a utility that appears to create them but then it talks about only being able to control it with WebDev, whatever that is. Any help here?

-MrWonderful

El Forum

[eluser]MrWonderful[/eluser]
I know. I always ask the tough questions. I'll wait a bit longer.

-MrWonderful

El Forum

[eluser]MrWonderful[/eluser]
Must be vacation time. Lots of views but no help on this board. Too bad

El Forum

[eluser]Chris Newton[/eluser]
You can create the htaccess file yourself. It's just a plain text file named .htaccess
Open a text editor, add those lines to it. Save it as htaccess.txt, and upload it to the root of the website (website root, not the server root) via FTP. Once it's uploaded to the server, change the name to .htaccess

done.

The problem with Dreamhost is... you may have to create your own php-ini file and php wrapper, and do some other malarky to get around their 7mb upload cap. I can't remember if it's that complicated, or if it's just a case of using the .htaccess file. Start with that... if you still can't upload large files, post here, and I'll walk you through the other stuff.

El Forum

[eluser]johnwbaxter[/eluser]
There seems to be a lot of "how do i do this on dreamhost or godaddy" type posts on here. Why do these companies do stuff differently to others? And why do people go with them if their setup is so (it seems) over complicated?

El Forum

[eluser]Chris Newton[/eluser]
In DH's defense, Dreamhost isn't really complicated, at least not any more so than any other shared host. The question above isn't really about Dreamhost being complicated.. seems to be just a question about HTACCESS... which doesn't have much to do with DH.

That being said, getting around some of the security stuff put in place by ANY shared host, is usually simple... you don't. With DH, it's not always simple, but it's possible.

El Forum

[eluser]MrWonderful[/eluser]
[quote author="Chris Newton" date="1234569223"]In DH's defense, Dreamhost isn't really complicated, at least not any more so than any other shared host. The question above isn't really about Dreamhost being complicated.. seems to be just a question about HTACCESS... which doesn't have much to do with DH.

That being said, getting around some of the security stuff put in place by ANY shared host, is usually simple... you don't. With DH, it's not always simple, but it's possible.[/quote]

Thanks for the help.

The thing is, I need to be able to upload songs to my social network thing and the way to go about that is to increase the limits. (as I understand it anyway) When I was at my other host, they simply used a modifiable utility and you were done. It worked. DH has a htaccess utility but it sounds like using it disables my Filezilla functionality. Which is dumb to me.

-MrW

El Forum

[eluser]Chris Newton[/eluser]
Their HTACCESS/WebDAV utility only does 2 things.

1 Sets up a directory with password protection (which is what most people are familiar with needing an HTACCESS file for.

OR

2. Creates a webdav folder, which is not what you want.

It's not intended to do what you're trying to do. Follow the directions I've laid out... you should be fine. I do this all the time. I've used DH for almost 10 years... I can probably get you through it.

El Forum

[eluser]MrWonderful[/eluser]
[quote author="Chris Newton" date="1234570663"]Their HTACCESS/WebDAV utility only does 2 things.

1 Sets up a directory with password protection (which is what most people are familiar with needing an HTACCESS file for.

OR

2. Creates a webdav folder, which is not what you want.

It's not intended to do what you're trying to do. Follow the directions I've laid out... you should be fine. I do this all the time. I've used DH for almost 10 years... I can probably get you through it.[/quote]

Perfect. I'll give it a shot right now.

-MrWonderful

El Forum

[eluser]MrWonderful[/eluser]
It's working dude! Yeah man! It's working.

Thanks for the assist Chris.

-MrWonderful
Pages: 1 2