Page 1 of 1

Same old question - Rewrite and htaccess - tried everything!

Posted: Fri Jun 22, 2012 9:54 am
by GoneShootin
First up, let me say how brilliant a system phpMyFAQ is. We use AutoTask at work and this system kicks their KB module all over the place. I'm almost good to go, but missing some trick for url rewriting. Here's what I have:

Server Config
XAMPP: Apache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/5.3.8 mod_perl/2.0.4 Perl/v5.10.1

Installed Location
http://<url>/knowledgebase

phpMyFAQ Version
phpMyFAQ 2.7.6

.htaccess
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /knowledgebase
</IfModule>

(I have also tried RewriteBase /)

Admin: Enable URL rewrite support?
Ticked

DirectoryIndex
<IfModule dir_module>
DirectoryIndex index.php index.pl index.cgi index.asp index.shtml index.html index.htm \
default.php default.pl default.cgi default.asp default.shtml default.html default.htm \
home.php home.pl home.cgi home.asp home.shtml home.html home.htm
</IfModule>

Requested URL
http://<server>/knowledgebase/content/1/12/en/<name-of-article>.html

Error
Object not found!

The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error.

If you think this is a server error, please contact the webmaster.
Error 404
<server>
06/22/12 09:38:37
Having gone through the boards I think I have tried every solution given, but still no joy. Can anyone suggest a way out??

Re: Same old question - Rewrite and htaccess - tried everyth

Posted: Sat Jun 23, 2012 8:14 am
by Thorsten
HI,

are these links working?

http://<server>/knowledgebase/

http://<server>/knowledgebase/ask.html

bye
Thorsten

Re: Same old question - Rewrite and htaccess - tried everyth

Posted: Sat Jun 23, 2012 11:30 am
by GoneShootin
http://<server>/knowledgebase/
Yes
http://<server>/knowledgebase/ask.html
No

Re: Same old question - Rewrite and htaccess - tried everyth

Posted: Sat Jun 23, 2012 11:59 am
by Thorsten
Hi,

is mod_rewrite enabled in your Apache configuration? Your .htaccess file looks good.

bye
Thorsten

Re: Same old question - Rewrite and htaccess - tried everyth

Posted: Thu Nov 29, 2012 9:03 pm
by Markees
GoneShootin wrote:
http://<server>/knowledgebase/
Yes
http://<server>/knowledgebase/ask.html
No
Hi!

Same problem here! The ask.html is not working here. Is there a fix yet? I could not find anything. My provider is telling me that there is no problem and my htaccess seems to be ok. What am I doing wrong?

Re: Same old question - Rewrite and htaccess - tried everyth

Posted: Fri Nov 30, 2012 9:09 am
by Thorsten
Hi,

which error do you get? A 404?

bye
Thorsten