Please note the new address for this forum : forum.excito.org. The old address redirects here but I don't know for how long. Thanks !
New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

mod_rewrite and AllowOverride

Got problems with your B2 or B3? Share and get helped!
Post Reply
zander
Posts: 141
Joined: 01 Jan 2009, 23:16
Location: las vegas, nv, usa
Contact:

mod_rewrite and AllowOverride

Post by zander »

hi,

is mod_rewrite available and enabled on bubba 2?

also is AllowOverride enabled by default?

where/how do i change/check these things?

/etc/apache2/httpd.conf is empty. :|

(i am trying to get pretty permalinks working in wordpress)

thank you.
~alonzo...
Kiff
Posts: 48
Joined: 08 Feb 2010, 04:09
Location: Norway
Contact:

Re: mod_rewrite and AllowOverride

Post by Kiff »

Hi, enabled mods are found in /etc/apache2/mods-enabled (available mods are in mods-available). To enable a mod use the command

Code: Select all

a2enmod modname
and then restart apache with

Code: Select all

apache2ctl restart
(mod_rewrite is enabled by default)

Edit: also, apache2.conf is used instead of httpd.conf
zander
Posts: 141
Joined: 01 Jan 2009, 23:16
Location: las vegas, nv, usa
Contact:

Re: mod_rewrite and AllowOverride

Post by zander »

ty kiff,

after looking through apache2.conf i noticed the only instance of "AllowOverride None" is commented out.

is "AllowOverride All" default or should i add this to apache2.conf?

thank you.
~alonzo...
Kiff
Posts: 48
Joined: 08 Feb 2010, 04:09
Location: Norway
Contact:

Re: mod_rewrite and AllowOverride

Post by Kiff »

I think it has to be enabled within a directory directive; (in apache2.conf or the virtual hosts files)

<Directory /path/to/files>
AllowOverride all
</Directory>
zander
Posts: 141
Joined: 01 Jan 2009, 23:16
Location: las vegas, nv, usa
Contact:

Re: mod_rewrite and AllowOverride

Post by zander »

okay.

so with bubba 2 i should add...

<Directory /home/web>
AllowOverride all
</Directory>

or

<Directory /home/web/wordpress>
AllowOverride all
</Directory>

i will try these in apache2.conf

and restart the server.

it did not resolve the wordpress issue.
~alonzo...
Post Reply