Also, are those spaces allowed in the Apache configuration file? Shouldn't this line: DocumentRoot "/ srv / ftp"
be more like: DocumentRoot "/srv/ftp" And this line: <Directory "/ srv / ftp"> Be more like: <Directory "/srv/ftp"> Unless the srv directory really has a space before and after srv and the ftp directory really has a space before it. Thanks! On Thu, Jan 19, 2017 at 11:46 AM, James Smith <j...@sanger.ac.uk> wrote: > Debian 8 (Jessie?) Apache version is 2.4.10 which would suggest your error > is in the Order Allow, Deny area.. > > Should just be: > > Require all granted > > > see: > > https://httpd.apache.org/docs/2.4/upgrading.html > > On 2017-01-19 04:34 PM, David Miranda Aragón wrote: > > Good morning. > I am looking for help on apache2 in debian 8, as I am trying to mount a > website, which in debian 7 worked bin, but now in debian 8 it does not work > for me. > But below I leave the configuration of my virtualhost > > <VirtualHost *: 80> > ServerName ftp.domain > ServerAdmin webmaster @ domain > DocumentRoot "/ srv / ftp" > > AddDefaultCharset UTF-8 > DirectoryIndex /httpdirindex/httpdirindex.php > RemoveHandler .php .phps .pl .cgi > > ErrorLog logs / ftp.domain-error.log > CustomLog logs / ftp.domain-access.log common > ErrorDocument 404 /httpdirindex/httpdirindex.php > > <Directory "/ srv / ftp"> > Options FollowSymLinks MultiViews > Order Allow, Deny > Allow From All > </ Directory> > </ VirtualHost> > > Is that I want to beautify my ftp that is mounted in apache with a utility > called httpdirindex that is written in php5 > > El 19/01/2017 a las 11:27 a. m., David Miranda Aragón escribió: > > test > -- > Nombre: Lic. David Miranda Aragón > Empresa: Unidad de Investigación para la Construcción Cienfuegos. ENIA - > MICONS > Ocupación: Administrador de Red > Email: da...@eniacfg.co.cu > Jabber: da...@jabber.eniacfg.co.cu > Teléfono: (043) 525128 > Dirección: Ave 56 # 5101 (Altos), Cienfuegos - CUBA > > > -- > Nombre: Lic. David Miranda Aragón > Empresa: Unidad de Investigación para la Construcción Cienfuegos. ENIA - > MICONS > Ocupación: Administrador de Red > Email: da...@eniacfg.co.cu > Jabber: da...@jabber.eniacfg.co.cu > Teléfono: (043) 525128 > Dirección: Ave 56 # 5101 (Altos), Cienfuegos - CUBA > > > > -- The Wellcome Trust Sanger Institute is operated by Genome Research > Limited, a charity registered in England with number 1021457 and a company > registered in England with number 2742969, whose registered office is 215 > Euston Road, London, NW1 2BE. >