4571 Posts in 1384 Topics by 1376 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1334 Views |
-
Enabling MOD_REWRITE & GD2

21 May 2010 at 10:40pm
OS: Ubuntu 10.04
Server: Apache2.2.14I had some difficulty determining where & how-to enable GD2 & mod_rewrite.
The short of it is that in Synaptic Package Manager search for PHP5 & mark PHP5-GD for install; & mod_rewrite is a module that needs to be enabled using
followed bysudo a2enmod
.rewrite
More info on mod_rewrite at http://ubuntuforums.org/showthread.php?t=903386 (the reason
is empty given at http://ubuntuforums.org/showthread.php?t=278531).httpd.conf
And yes, if you think this makes me sound like a newbie, I am. However, it would have helped if this had been available here rather than having to go hunt for it. Helpful tips & hints always make things go smoother.
So why not? ... I found an answer that some may be looking for.
Unfortunately, my day job has me working with Microsoft systems (the "so called" Dark Side ;), so my Linux experience is limited at the moment.
-
Re: Enabling MOD_REWRITE & GD2

21 May 2010 at 11:21pm Last edited: 21 May 2010 11:30pm
Also had an issue with AllowOverride not allowed. Tracked this one down again to the fact that httpd.conf is no longer used. Check into a file in the folder /etc/apache2/sites-enabled (for me it was) 000-default which had the AllowOverride defined in it. Changed 'none' to 'all' & success! Finally!
I'm loving the experience although it is a bit frustrating finding some of these things out.
BTW: the filename 000-default is zero zero zero dash (or hyphen) default.
-
Re: Enabling MOD_REWRITE & GD2

22 May 2010 at 9:31pm
I think it should just be a case of running the following to get GD support.
sudo apt-get install php5-gd
-
Re: Enabling MOD_REWRITE & GD2

2 September 2010 at 9:42pm
Thanks for this StephenDx.
With a default install of ubuntu and apache2 installing php5-gd and enabling mod_rewrite isn't enough to get it going. Setting AllowOverride to "All" for the "/var/www/" directory is the required step to get rewriting to work.
| 1334 Views | ||
|
Page:
1
|
Go to Top |



