Questions tagged [multiviews]

33 questions
11
votes
2 answers

"no acceptable variant" from MultiViews in Apache

In one deployment of a PHP-based application, Apache's MultiViews option is being used to hide the .php extension of a request dispatcher script. E.g. a request to /page/about ...would be handled by /page.php ...with the trailing part of the…
crishoj
  • 5,660
  • 4
  • 32
  • 31
5
votes
2 answers

Amazon S3 get file without extension

I'm uploading multiple pictures with different extensions (jpg, png...etc) via java Amazon TransferManager. for example : picture1.png, picture2.jpg. I would like to serve the content without the extension, a get request to folder/picture1 would…
daley
  • 177
  • 1
  • 2
  • 9
4
votes
0 answers

Apache Content Negotiation, File Extensions, and Permanent Redirects

Given an Apache 2.x web server that uses Content Negotiation (+MultiViews) to access URLs without their extensions (e.g., allow /foo vs. /foo.php or /foo.html), how does one issue a 301 permanent redirect when someone does in fact try to use those…
Joe D'Andrea
  • 5,141
  • 6
  • 49
  • 67
3
votes
0 answers

Nested Recyclerview makes scroll laggy

I am using recyclerview with multi view type and using nested recyclerviews: But its scrolling very slow. I also handled the child recyclerviews scroll position in onViewRecycled function: override fun onViewRecycled(holder:…
3
votes
0 answers

Can't get Apache-like multiviews functionality in nginx

I've been trying for a few days to get apache-style multiviews working with path_info with no luck. I'm using nginx/1.2.1 and php5-fpm 2.4.0. My goal is to be able to visit example.com/product/48/my-product-name where product translates to…
Jason Woodland
  • 478
  • 2
  • 7
  • 14
3
votes
1 answer

Produce image based on images from two perpendicular view

I am trying to find the shape of a curve shape rod in its plane, based on two perpendicular views of the rod. I have prepared an image to make my question clearer. I have the projected images of the rod on the planes 1 and 2, and I'd like to…
NESHOM
  • 899
  • 16
  • 46
2
votes
1 answer

Any parameters passed with multiviews?

Given /group/14/ with multiviews enabled on group, I get a redirect to /group.php, but is 14 passed to PHP in any form besides the $_SERVER variables? Ideally, I could get this in a query string of some kind. I read parts of the Content…
Levi Morrison
  • 19,116
  • 7
  • 65
  • 85
2
votes
2 answers

Multiple views sharing same data with two-way data binding between multiple threads

UWP app ( mvvm architecture ) I have a MainView which has a collection in its ViewModel, used to bind to the GridView on MainView and each item has a TextBox with 2 way databinding with Description property of class Note. Xaml of the TextBox of each…
Muhammad Touseef
  • 4,357
  • 4
  • 31
  • 75
2
votes
1 answer

Stop htaccess from redirecting certain file types?

My htaccess works exactly as I want it to except it is also redirecting my sitemap files. Does anyone know what can be changed or added to keep it from effect any .xml files but continue to work the same for anything else? RewriteEngine…
user1135462
  • 175
  • 3
  • 11
1
vote
1 answer

Language selection via MultiViews only works partially when requesting another resource

I have a little site that's available in different languages which are selected based on the following criteria (increasing order of preference): Accept-Language sent by the browser A cookie specifying the preferred language The request path…
Joey
  • 344,408
  • 85
  • 689
  • 683
1
vote
1 answer

.htaccess mod_rewrite working ONLY with HTML, not with my PHP files

I've just finished setting up my first app on localhost - and the .htaccess working incredibly fine. I just uploaded the files to Google Cloud LAMP Server, set up the database & got everything working -- however, for some reason the PHP files are…
duro
  • 35
  • 3
1
vote
0 answers

non-www to www redirection issues

Recently, I enforced non-www to www redirection on my website. I am using these rules in my htaccess file: Options -Indexes Options +FollowSymLinks ExpiresActive On ExpiresDefault A1209600 ExpiresByType text/html…
ben
  • 31
  • 4
1
vote
0 answers

How to decode an image once render multiple time

An image is decoded once, and I need to render the surface associated with decoder multiple time to different surfaceTexture, then display them on screen at same time, how could I realize this? what should I created multiple time? SurfaceTexture?…
dan
  • 119
  • 1
  • 5
1
vote
1 answer

Omnifaces MultiViews and primefaces dialog framework

We have an application in JSF2 with primefaces 6.1 + omnifaces 2.6.2, omnifaces is in multiviews configurations working really well with urls like: mysite/blogPost/my-very-first-post
1
vote
1 answer

How use two ui-view independents

I have an application where I wish that two panels (ui-view) work singly. https://jsbin.com/neroze/edit?js,output But, when I click in link to change the right panel, the center panel is changed and when I click to change the center panel, the right…
Alex Oliveira
  • 133
  • 1
  • 9
1
2 3