[help] how to active fancy url?

this is my .htaccess file :

####

RewriteEngine On

# NOTE: change this to your actual StatusNet base URL path,
# minus the domain part:
#
# http://example.com/ => /
# http://example.com/mublog/ => /mublog/
#
RewriteBase /mublog/

## Uncomment these if having trouble with API authentication
## when PHP is running in CGI or FastCGI mode.
#
#RewriteCond %{HTTP:Authorization} ^(.*)
#RewriteRule ^(.*) - [E=HTTP_AUTHORIZATION:%1]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php?p=$1 [L,QSA]



Order allow,deny

###

this is my config.php file:

###

<?php<br />if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); }

$config['site']['name'] = 'mysite';

$config['site']['server'] = 'mysite.com';
$config['site']['path'] = ' ';
$config['site']['fancy'] = false;
$config['site']['mobile'] = true;
$config['db']['database'] = 'mysql';

$config['db']['type'] = 'mysql';

###

if i change the fancy config to 'true' , my site is show blank page. please help me, because i run a serious site for my college..

Comments

  • The rewrite base in your .htaccess file should be
    RewriteBase /
  • just change it? And configure the fancy url value to 'true' ?
  • @ciduh I think that should do it, if your install is at the site root. Any posts you've already made will still have the old /index.php/ address.
    Did you read the README section I sent you when you PM'd me?
    You will also need to have mod_rewrite for apache enabled if apache is your webserver.
  • and how to enabled mod_rewrite ? And how to know it was enabled?
    Sorry, i am a beginner.
  • @ciduh check with your host, it's probably already enabled.
    Do you have shared hosting or is it a VPS/Dedicated solution?
  • i use shared hosting..
  • SOLVED!
    thanks jordanc!
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Google Sign In with OpenID