D
D
Denis Denis2015-08-10 08:35:38
JavaScript
Denis Denis, 2015-08-10 08:35:38

What does the Options -MultiViews setting do?

Hey!
in .htaccess, which is in public, there are such lines
Options -MultiViews
It is clear that the Options directive determines which features of the server are available in this directory.
and "-" is removed from enabled options.
If you upload it to the hosting without commenting it, laravel does not work.
Why are they needed then? For nginx?
google does not find it, perhaps because of my incompetence :)
save, help :)

Answer the question

In order to leave comments, you need to log in

4 answer(s)
T
Talyan, 2019-01-26
@flapflapjack

It seems like there was an extra dollar in front of the name

$(document).ready(function(){
      $('button').on('click',function(e){
         var name = $('#name').val();
         $.post("connect.php", {data: name});
        });
        });

G
Georgy Baruchyan, 2019-01-26
@Snatch87

1) add at the end of the handler , otherwise you will have a form submit. 2) make a redirect not in the php script, but in the ajax response processing return false;

V
Vitsliputsli, 2019-01-27
@Vitsliputsli

What do you want to get? If you need to add lines entered by the user to the file, then no form is needed, just finish ajax. If you need to go to http://films after user input, then no ajax is needed, correct the action and submit in the form.

D
DevMan, 2015-08-10
@golovewkin

disables the MultiViews option .
here's more about the option .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question