UwAmp virtual host configuration generates 500 error with .htaccess in the site root

0

I have my local apache server working with UwAmp Portable in windows 7. UwAmp is a project generated from Wamp server.

When creating the virtual Host, they work correctly.

But by including a .htacces file in the root of the site, in the folder WWW, and try to enter to the virtual host created, I get the error 500 "Internal Server Error"

Looking at the error log file shows me this:

[core: alert] [pid 2480: tid 924] [client 192.168.0.10:4231] C: /UwAmp/www/.htaccess: IndexIgnore not allowed here

By the simple fact of including any line in the .htacces immediately the error will be generated comnentado.

I have searched in several places, and I have not been able to find the solution.

How could this problem be solved?

This is the code used to generate the virtual host, in two different ways:

FIRST:

UWAMP Generate Virtual Host

DocumentRoot "{DOCUMENTPATH}/ventas"
ServerName "ventas.con"
<Directory "{DOCUMENTPATH}/ventas">
    AllowOverride All
    Options FollowSymLinks Includes Indexes MultiViews 
</Directory>

SECOND:

UWAMP Generate Virtual Host

DocumentRoot "C:\UwAmp\www\ventas"
ServerName "ventas.con"
<Directory "C:\UwAmp\www\ventas">
    AllowOverride All
    Options FollowSymLinks Includes Indexes MultiViews 
</Directory>

    
asked by samuel 28.08.2017 в 21:42
source

1 answer

0

I just solved it.

In the http.conf file include the following:

<Directory "C:\UwAmp\www">
Options Indexes FollowSymLinks MultiViews
AllowOverride FileInfo Options
Order allow,deny
allow from all
</Directory>
    
answered by 29.08.2017 / 02:52
source