Hi,
I've set up the fancy mode ($config['site']['fancy'] = true;) and have an
.htaccess file in my root directory (this mode helps avoid the other issue
of an extra "/index.php" in the URL links)
Most of the URL links (e.g. /doc/help, /search/people) work fine except the
home page (www.mobiletribes.com)
The log error is get is "2009-06-15 22:04:44 LOG_ERR: Problem getting route
for /index.php - A path was found but is invalid."
So, it seems like the .htaccess file (below) isn't resolving the RewriteRule
for the .index.php correctly
-> Any suggestions on whether the .htaccess file rule needs to be changed?
thx
kiran
--------------------------------.htaccess file
----------------------------------------------
RewriteEngine On
# NOTE: change this to your actual Laconica path; may be "/".
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (^*) /index.php?p=$1 [L,QSA]
<FilesMatch "\.(ini)">
Order allow,deny
</FilesMatch>
On Mon, Jun 15, 2009 at 5:13 AM, Jeff Mitchell <[email protected]> wrote:
> Kiran Bellare wrote:
> > Thanks Jeff,
> >
> > I have set $config['site']['path'] = ''; in the config.php (also tried
> > '/'), and that got rid of the extra "index.ph <http://index.ph>" in the
> > path. I've installed laconica in my root folder (www.mobiletribes.com
> > <http://www.mobiletribes.com/>)
> >
> > However, i still have an extra '/index.php' in the path - e.g. all my
> > links in www.mobiletribes.com <http://www.mobiletribes.com/> page show
> > http://www.mobiletribes.com/index.php/doc/help
> > Where in the code is this getting added and how can i remove it?
>
> Check the README file. You need to ensure mod_rewrite support is
> enabled in your web server, the appropriate commands are in a .htaccess
> file (or in your site or virtualhost configuration), and turn on
> $config['site']['fancy'] = true;
>
> --Jeff
>
>
_______________________________________________
Laconica-dev mailing list
[email protected]
http://mail.laconi.ca/mailman/listinfo/laconica-dev