Piwigo.org

You are not logged in. (Register / Login)

Announcement

Post a reply

Write your message and submit

Click in the dark area of the image to send your post.

Go back

Topic review (newest first)

GSM-S
2009-06-25 17:25:17

VDigital 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. >_<

VDigital
2009-06-24 20:39:24

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).

GSM-S
2009-06-24 16:47:24

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.

Code:

AddHandler x-mapp-PHP5 .php
AcceptPathInfo on

Anyways, if this helps I use 1and1.com luniz hosting.

VDigital
2009-06-24 09:14:50

.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).

VDigital
2009-06-24 08:15:32

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.

GSM-S
2009-06-24 05:36:44

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. >_<)

VDigital
2009-06-23 13:25:07

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)).

saqwild
2009-06-23 12:25:27

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

VDigital
2009-06-23 11:41:54

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

GSM-S
2009-06-23 03:11:38

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?

VDigital
2009-06-22 23:50:29

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

plg
2009-06-22 22:14:14

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;
GSM-S
2009-06-22 05:47:59

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?

Board footer

Powered by FluxBB

About this website · Donate · Contact Piwigo project © 2002-2013