View previous topic :: View next topic |
Author |
Message |
frosin -
Joined: 20 Jul 2005 Posts: 2 Location: Stockholm, Sweden
|
Posted: Wed Jul 20, 2005 11:25 am Post subject: <directory ...> in Gallery |
|
|
Hi!
I've installed a program called Gallery and it is working fine. Untill a friend of mine tried to upload a movie that was more than 2 MB. That doesnt work. On Gallerys configuration page it says:
Quote: | Warning!
Apache is not obeying the 'php_value' lines in your .htaccess file. Try entering the following into your web server's httpd.conf file:
<Directory C:\Program\Abyss Web Server\htdocs\gallery>
AllowOverride Options FileInfo
</Directory> |
I've tried to paste that <Directory...> into my abyss.conf file but it still does not work. I think it has to do with the spaces in Abyss Web Server, but how do I get around that without re-installing Abyss?
Please help... |
|
Back to top |
|
 |
Anonymoose -
Joined: 09 Sep 2003 Posts: 2192
|
Posted: Wed Jul 20, 2005 11:57 am Post subject: |
|
|
<Directory.... is an Apache directive. It has nothing to do with Abyss. Abyss does not support htaccess files, and pasting <Directory... directives directly into your Abyss conf file is a great way to break Abyss.
Did "Apache is not" not give you a clue that the instructions coded into Gallery are for Apache?
You need to find out exactly what the script is doing and correct it to avoid these problems - you will need to edit php.ini rather than using Apache directives. Looking at what php_value is expected to be and how it is failing would be a start. |
|
Back to top |
|
 |
cmxflash -
Joined: 11 Dec 2004 Posts: 872
|
Posted: Wed Jul 20, 2005 12:17 pm Post subject: |
|
|
Det verkar som galleriet endast fungerar för Apache. Du får väl försöka hitta något annat galleri. Trevligt med en svensk här på forumet föressten. Är trött på alla småungar (speciellt "p3") här på forumet. Annars kan jag rekommendera ett program som heter "gallery wizard" (sök på Google). Kräver inte PHP utan endast HTML. Är lite n00bigt, men det duger. Finns annars säkert hundratals gallerier på hotscripts.com. |
|
Back to top |
|
 |
frosin -
Joined: 20 Jul 2005 Posts: 2 Location: Stockholm, Sweden
|
Posted: Wed Jul 20, 2005 12:53 pm Post subject: |
|
|
Hi again... The script (or whatever to call it) is not only for Apache, and has worked well over a year for me. Until my friend tried to upload a file bigger than 2 MB (as I said earlier).
The reason for not "understanding" the phrase "Apache is not..." is because I thought it was a way to say "the server is not..." (oh, I do know that Apache is a server...), but obviously I got it wrong. And when looking in the abyss.conf file it looks very much the same as the code I was supposed to include in the httpd.conf file.
Anyway... I found the reason for it not to work on the Gallery page. But I hade to look long and hard :) It was as you say in the php.ini file...
BTW, how is the <Directory...> going to break Abyss? If Abyss doesnt understand the command, wouldnt it just ignore it?
To cmxflash: Som jag skrev ovan så fungerar det jättebra. Om du är ute efter ett fotogalleri så testa Gallery. Väldigt snyggt och bra som sagt. Och nu har jag fått det att funka med stora filer oxå.
Skicka ett mail om du vill veta hur. |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Wed Jul 20, 2005 1:03 pm Post subject: Re: <directory ...> in Gallery |
|
|
frosin wrote: | Hi!
I've installed a program called Gallery and it is working fine. Untill a friend of mine tried to upload a movie that was more than 2 MB. That doesnt work. On Gallerys configuration page it says:
Quote: | Warning!
Apache is not obeying the 'php_value' lines in your .htaccess file. Try entering the following into your web server's httpd.conf file:
<Directory C:\Program\Abyss Web Server\htdocs\gallery>
AllowOverride Options FileInfo
</Directory> |
I've tried to paste that <Directory...> into my abyss.conf file but it still does not work. I think it has to do with the spaces in Abyss Web Server, but how do I get around that without re-installing Abyss?
Please help... |
This is a PHP configuration issue (nothing related to the web server configuration if you're using Abyss).
All you have to do to increase this limit is to follow the instructions in http://www.aprelium.com/forum/viewtopic.php?p=37831#37831 . _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
|