|
#1
|
|||
|
|||
|
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? |
|
#2
|
|||
|
|||
|
Quote:
|
|
#3
|
|||
|
|||
|
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. |
|
#4
|
||||
|
||||
|
Quote:
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. |
|
#5
|
|||
|
|||
|
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? |
|
#6
|
||||
|
||||
|
Quote:
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. |
|
#7
|
|||
|
|||
|
can we not change the upload_max_filesize in the .htaccess file as well?
|
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
|
|
All times are GMT -6. The time now is 12:03 AM.








