These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for After install the GD Graphics Library on the new forum.
Hi!
After we have install the GD Graphics Library for PHP 4 we get this in our error log "Directory index forbidden by rule: /home/filmparadiset/public_html/", and also for the other domain we have on our server. What have happend?
Regards, Lars Reimers
Hey Lars,
This isn't related to the GD graphics library.
This is the Apache configuration--and it's always been like that. When you put content into that directory (and index.html, or index.php) this error will disappear. All it means is that either: A default Virtualmin "Server is working!" page was served (if you have a /etc/httpd/conf.d/welcome.conf file), or an error saying "forbidden" was served. Since there was no file to serve there anyway (if there were, it wouldn't have given an error), neither of these is harmful.
You can enable indexes in the Apache configuration, but I don't recommend it. It can be a potential source of security problems, particularly if you have non-technical users hosting on your system who might store private data in ~/public_html, rather than moving it up a level into ~ where web services can't see it at all.
--
Check out the forum guidelines!
Hi Joe,
I have to jump in with a question that is related to this.
You say "This is the Apache configuration--and it's always been like that..."
If I understand you rigth the indexing is off by default. But on our two installs the default is allow indexing, I have to manually set indexing off, I have not changed these settings in the default template.
Regards,
Leif
Ok... to clarify my post, I was talking about indexing on folders stored in public_html, indexing on public_html is of by default just like you say.
Hej Leif!
Tack för att du "jumpm in".
Jo i samband med att jag installerade GD så slutade möjligheten att öppna sidor med .php ändelser. .html fungerar utan problem. Jad avistallerade GD men har fortfarande kvar problemet med att jag inte kan öppna .php sidor.
Var och hur ändrar jag indexing, kan inte hitta var jag gör denna inställning, som man brukar säga "jag ser inte skogen för alla träd"
Hälsningar
Lars Reimers
Hi!
Stranger, I ca't open any .php file, but .html file are ok.
Somethings stranger have happend with access to .php files after that I have try to install GD.
Regards,
Lars Reimers
Sorry!
But now I have done some progress, and I have fund that php is not working on my server anymore, and that happend after install of GD "arrrg"
Some tip have been wonderful, so that I can get php upp and running again!
Regards,
Lars Reimers
Hey Lars,
How did you install the PHP GD bindings?
There are RPMs for all of the operating systems we support in the OS-standard repository (and in our repos for the php4 packages that we provide on Fedora Core 4, 5 and 6). So installation should be a very simple operation with no chance of screwing anything up:
yum install php-gd
Or:
yum install php4-gd
Or, using yast on SUSE, urpmi on Mandriva, apt-get on Debian/Ubuntu (same concept, maybe a different package name).
--
Check out the forum guidelines!
Hi Joe!
I have found the problem right now, and the solutions is that I have both php4 and php5 loaded. So in php.conf I comment out all referens to php5, and BINGO the page shows upp again.
Yes i have install by yum install php4-gd, I do`nt now what happend after that installation, but after stop loading php5 everythings work as a charm again.
Thank for all help, have a nice time!
Regards,
Lars Reimers