Ver Mensaje Individual
  #1 (permalink)  
Antiguo 21/06/2018, 15:53
snowdogs
 
Fecha de Ingreso: noviembre-2009
Mensajes: 89
Antigüedad: 14 años, 6 meses
Puntos: 1
Apache en servidor VPS

Buenas muchachos, espero me puedan ayudar con este problema.

ayer realice un deploy de un sistema en Laravel que estoy desarrollando y al ingresar me dice que no tengo permiso y despues de pulsar varias veces F5 me aparece la pagina, y cuando navego por los Link me da un error 404 Not Found
The requested URL, he leido en varias partes y me mandan a realizar algnas cosas en la configuracion del apache, pero hasta el momento nada me ha servido.

Les coloco el código de como tengo mi apache en este momento archivo 000-default.conf

Código:
#<VirtualHost *:80>
        #ServerAdmin webmaster@localhost
        #DocumentRoot /var/www/html

        # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
        # error, crit, alert, emerg.
        # It is also possible to configure the loglevel for particular
        # modules, e.g.
        #LogLevel info ssl:warn

        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined

        # For most configuration files from conf-available/, which are
        # enabled or disabled at a global level, it is possible to
        # include a line for only one particular virtual host. For example the
        # following line enables the CGI configuration for this host only
        # after it has been globally disabled with "a2disconf".
        #Include conf-available/serve-cgi-bin.conf
#</VirtualHost>

# vim: syntax=apache ts=4 sw=4 sts=4 sr noet

<VirtualHost *:443>
        ServerAdmin [email protected]
        DocumentRoot /var/www/micarpeta/public
        Servername midominio.com

        SSlEngine on
        SSlCertificateFile /etc/ssl/certs/12345678repl_1.crt
        SSlCertificateKeyFile /etc/ssl/private/servicefor.key
        SSlCertificateChainFile /etc/ssl/certs/12345678repl_1.ca-bundle

<Directory /var/www/micarpeta/public>
        AllowOverride All
        Options Indexes FollowSymlinks
        Require all granted
        RewriteEngine On
        RewriteBase /var/www/micarpeta/public
</Directory>
</VirtualHost>

<VirtualHost *:80>
        Servername midominio.com
        Redirect Permanent / https://midominio.com
</VirtualHost>