Go Back   HostGator Peer Support Forums > Public Forums > Pre-Sales Questions

Notices

Reply
 
Thread Tools
  #1  
Old 12-23-2005, 03:46 PM
Unregistered
HostGator Guest
 
Posts: n/a
Default A couple easy questions

I'm currently managing sites with another host but today I found out that the server I'm on doesn't have directory browsing turned off by default! Dumb on my part not to have checked this but took it for granted. I asked them to do it and they won't saying most people want their sites to have directory browsing. This is something I certainly don't believe. I know I can manually protect directories but I don't want to have to go through that trouble. What's the setting on the hostgator servers?

What's the php upload_max_filesize? I'm guessing most installs leave it at the 2MB default. I need to have it set to 35MB for one client that uses her site mostly for exchanging advertising materials that she works on with her clients. Is that going to be a problem?
Reply With Quote
  #2  
Old 12-23-2005, 03:48 PM
GatorJay
HostGator Guest
 
Posts: n/a
Default Re: A couple easy questions

Quote:
Originally Posted by Unregistered
I'm currently managing sites with another host but today I found out that the server I'm on doesn't have directory browsing turned off by default! Dumb on my part not to have checked this but took it for granted. I asked them to do it and they won't saying most people want their sites to have directory browsing. This is something I certainly don't believe. I know I can manually protect directories but I don't want to have to go through that trouble. What's the setting on the hostgator servers?

What's the php upload_max_filesize? I'm guessing most installs leave it at the 2MB default. I need to have it set to 35MB for one client that uses her site mostly for exchanging advertising materials that she works on with her clients. Is that going to be a problem?
Browsing directories, or "Indexing" is on by default. You can turn that off, but almost any host you find will have that on. The php upload max size is usually 5 to 10mb on any server, you would not be able to increase or decrease it unless you got a dedicated server. In which you would have access to all settings on the server.
Reply With Quote
  #3  
Old 12-25-2005, 10:56 PM
jeff_s jeff_s is offline
Baby Croc
 
Join Date: Feb 2005
Posts: 69
Default Re: A couple easy questions

HG has indexing turned on by default, but you can turn off display of indexes site-wide by simply adding the statement:

Options All -Indexes

to your ../public_html/.htaccess file.
Reply With Quote
  #4  
Old 12-28-2005, 02:19 PM
Serra's Avatar
Serra Serra is offline
Veteran Croc
 
Join Date: Feb 2005
Location: Orange Park, FL
Posts: 5,073
Default Re: A couple easy questions

Quote:
Originally Posted by Unregistered
What's the php upload_max_filesize? I'm guessing most installs leave it at the 2MB default. I need to have it set to 35MB for one client that uses her site mostly for exchanging advertising materials that she works on with her clients. Is that going to be a problem?
It is set at 2mb. Changing the max PHP upload to 35mb would be a system wide change, I don't believe you can change it on an account basis as it is a php.ini setting.

However, changing the php.ini may be tempting, it is not wise. It can cause big problems. You would be better off setting the client up with an FTP program and allowing them to upload that way by creating an FTP account. If it isn't possible to provide her clients with an ftp program that is presetup to access her server, then it may be possible to do it another way, but allowing 35mb PHP uploads is not the answer.
Reply With Quote
  #5  
Old 01-04-2006, 04:36 PM
Unregistered
HostGator Guest
 
Posts: n/a
Default question about upload

I see there is 2MB upload limit dictated by php upload_max_filesize.

Does that mean multiple files of say 1.5MB could be uploaded?

I.e., if I'm using zencart, which allows a customer to upload an image file for an order, and presumably allows them to upload 1 image per ordered item and they order multiple items, will the upload work or will it fail as soon as that customer has reached a 2MB limit, say on the second image file attached to the 2nd ordered item?
Reply With Quote
  #6  
Old 01-04-2006, 07:19 PM
Serra's Avatar
Serra Serra is offline
Veteran Croc
 
Join Date: Feb 2005
Location: Orange Park, FL
Posts: 5,073
Default Re: question about upload

Quote:
Originally Posted by Unregistered
I see there is 2MB upload limit dictated by php upload_max_filesize.

Does that mean multiple files of say 1.5MB could be uploaded?

I.e., if I'm using zencart, which allows a customer to upload an image file for an order, and presumably allows them to upload 1 image per ordered item and they order multiple items, will the upload work or will it fail as soon as that customer has reached a 2MB limit, say on the second image file attached to the 2nd ordered item?
That is correct. Each file has to be less than the max, but you may upload as many files as you wish.

Note: If they are being uploaded by the same script, without pause, then you might run into the max time, which is likely 30 seconds.
Reply With Quote
  #7  
Old 02-14-2006, 09:34 AM
MediaGlo MediaGlo is offline
Hatchling Croc
 
Join Date: Feb 2005
Posts: 4
Default Re: A couple easy questions

can we not change the upload_max_filesize in the .htaccess file as well?
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

All times are GMT -6. The time now is 12:03 AM.