.htaccess file/httpd.conf
sarcasticprick
Joined: 2003-04-08
Posts: 63 |
Posted: Thu, 2004-12-23 23:12 |
it seems like my host is always changing things around on their end that affect my gallery negatively. the newset is that i am unable to upload images over 2mb in size. i tried to run the configuration wizard and here is where i found the problem... in step 1. Quote:
Warning! after contacting my host to request that this line be put into the httpd.conf file... Quote:
<Directory /home/origin/public_html> ...they told me to put this line in my .htaccess file. after doing this i immediately got this error: Quote:
Internal Server Error any simple solutions? |
|
Posts: 13451
Yeah, get your hosts act sorted....
Seriously, you can't add that to the .htaccess file, since thats what enables php directives in .htaccess in the first place...
Posts: 3236
If all else fails, you can take your monthly fee to another provider that doesn't change things all the time and break your shit.
Posts: 63
my host said:
"Hello Rick,
AllowOverride Options FileInfo is already set in our httpd.conf."
however, the problem still persists. i can't upload pictures larger than 2mb. i ran the configuration wizard again and i got... "Apache is not obeying the 'php_value' lines in your .htaccess file."
any ideas? :-?
Posts: 63
when i try to upload a file over 2mb this is the error message i get:
Processing status...
- Adding DSCF0073.JPG
Resizing/compressing original image
Warning: getimagesize(/home/origin/public_html/albums/album01/aac.jpg): failed to open stream: No such file or directory in /home/origin/public_html/util.php on line 436
Posts: 13451
Well, your host has to change it, you can't as long as the PHP directives in .htaccess is not followed.
Posts: 63
here is the response i got back from my host:
does what he's saying make any sense? here is my .htaccess in full:
this is the .htaccess that was generated by gallery.
Posts: 13451
If you do have access to your own php.ini file, thats fine. You can add the
Lines to it, but they need some modifications, like removing the #php_value part of them.
Posts: 63
the solution to my problem is out of my skill set :-?
are there any basic tutorials on this php.ini and it's functions?
Posts: 13451
php.net has all you need!