Andreas Schildbach schrieb:
On Mon, 2009-06-15 at 08:13 -0400, Jeff Mitchell 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;
The problem is: This just does not work. Laconica (0.7.3) always
generates /index.php inside the URLs. I can remove '/index.php' by hand
to verify that URL rewriting works, but URL *generating* does not work.
=== config.php
$config['site']['server'] = 'tweets.schildbach.de';
$config['site']['path'] = '/';
$config['site']['fancy'] = true;
=== .htaccess:
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>
Hi,
maybe directly into your
/etc/apache2/sites-available/yoursite
helps? for me it works fine.
greetings
Thomas
_______________________________________________
Laconica-dev mailing list
[email protected]
http://mail.laconi.ca/mailman/listinfo/laconica-dev