EnglishVDigital wrote:
I am not expert in .htaccess
you should use a file filter: <Files ~...
to manage only .php and .html
Maybe someone else can help you to code your .htaccess (or 1&1 FAQ, 1&1 forum, 1&1 support with a ticket).
I tried but no luck. >_<
I am not expert in .htaccess
you should use a file filter: <Files ~...
to manage only .php and .html
Maybe someone else can help you to code your .htaccess (or 1&1 FAQ, 1&1 forum, 1&1 support with a ticket).
VDigital wrote:
.htaccess with
AcceptPathInfo on
and your config_local.inc.php including:
$conf['question_mark_in_urls'] = false;
Is perfectly working except for some plugins (starting from some of mines).
I gotten a 500 error. x_x
the .htaccess file on my website.
AddHandler x-mapp-PHP5 .php AcceptPathInfo on
Anyways, if this helps I use 1and1.com luniz hosting.
.htaccess with
AcceptPathInfo on
and your config_local.inc.php including:
$conf['question_mark_in_urls'] = false;
Is perfectly working except for some plugins (starting from some of mines).
I will try to find a website where I can code it.
On my personal websites, I can't.
Maybe send a private mail to rvelices who did it.
VDigital wrote:
And
Only if the server translates PATH_INFO and depends on the server AcceptPathInfo directive config.
See http://httpd.apache.org/docs/2.0/mod/co … ptpathinfo
Might be coded in your .htaccess
Could you show me an example of the htaccess? (I'm still new to htaccess. >_<)
php_extension_in_urls: ( There is an error in our documentation currently).
if false, the urls generated for picture and category will not contain the .php extension. This will work only if .htaccess defines Options +MultiViews parameter or url rewriting rules are active.
$conf['php_extension_in_urls'] = false;
Example: http://www.vdigital.org/phpwebgallery/i … nal_page/2
See: http://httpd.apache.org/docs/2.0/mod/core.html#Options
Nota: Options +MultiViews (Might be set as default by your provider (That isn't your case in fact)).
hi,
since this conversation is going on,can you please tell me how to include .php or .html in url i.e
http://thelostwaters.com/gallery/picture.php?/269
should look like
http://thelostwaters.com/gallery/category/269.php
thanks
I don't think that really works because you have to respect other constraints.
Failing: http://thelostwaters.com/gallery/picture.php/269
And expected result...
http://thelostwaters.com/gallery/picture.php?/269
example of a working website: http://www.modusoptimus.com/pwg/picture … es/flowers
plg wrote:
If I understand correctly, you mean "removing the question mark in the URL", right?
Activate the "LocalFiles Editor" plugin, then in the local configuration, write:Code:
$conf['question_mark_in_urls'] = false;
That worked but the problem is that the layout is all messed up. >_< How can I fix this?
And
Only if the server translates PATH_INFO and depends on the server AcceptPathInfo directive config.
See http://httpd.apache.org/docs/2.0/mod/co … ptpathinfo
Might be coded in your .htaccess
If I understand correctly, you mean "removing the question mark in the URL", right?
Activate the "LocalFiles Editor" plugin, then in the local configuration, write:
$conf['question_mark_in_urls'] = false;
How can we modify .htaccess so that the files would appear like this:
http://thelostwaters.com/gallery/index.php/category/2 FROM THIS http://thelostwaters.com/gallery/index.php?/category/2
http://thelostwaters.com/gallery/pictur … category/2 FROM THIS http://thelostwaters.com/gallery/pictur … category/2
and so that it wouldn't affect the admin.php. How can we do this?