[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4505: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4507: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4508: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4509: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
Liway Forums • View topic - help, htaccess

help, htaccess

Discussion & Help for all web coding and scripting. Some languages include PHP, Ruby, Perl, XHTML, CSS, Javascript and XML.

help, htaccess

by anggit » Sun Jun 03, 2012 12:40 pm

hi, i try a mod rewrite in htaccess like this:
http://localhost/any -> http://localhost/any.php
but now the problem is i'm unable to access any directory, since http://localhost/directory will mod to http://localhost/directory.php.
any idea? :?
anggit
Junior Member
 
Posts: 55
Joined: Tue May 18, 2010 8:26 am

Re: help, htaccess

by Max » Mon Jun 04, 2012 1:41 am

Can't really help you unless you actually post your .htaccess file :P

Also just quickly, will it work if you put another slash after the directory?
Max
Administrator
 
Posts: 1045
Joined: Sat Jul 18, 2009 3:17 pm

Re: help, htaccess

by anggit » Mon Jun 04, 2012 12:07 pm

anggit
Junior Member
 
Posts: 55
Joined: Tue May 18, 2010 8:26 am

Re: help, htaccess

by Max » Tue Jun 05, 2012 3:38 am

It's all good now then?
Max
Administrator
 
Posts: 1045
Joined: Sat Jul 18, 2009 3:17 pm


Return to Coding and Programming



Who is online

Users browsing this forum: No registered users and 1 guest

cron
Not able to open ./cache/data_global.php