Arquivo da tag: Error

Moodle URL Redirection

I ended up doing the following to get this to work:

In /opt/bitnami/apache2/conf/httpd.conf, change the following lines:

Comment out
DocumentRoot ‘/opt/bitnami/apache2/htdocs’

Add
DocumentRoot ‘/opt/bitnami/aps/moodle/htdocs’

Comment out
Directory ‘/opt/bitnami/apache2/htdocs’

Add
Directory ‘/opt/bitnami/apps/moodle/htdocs’

Seems to work for me.

https://community.bitnami.com/t/moodle-url-redirection/2376/5

Share and Enjoy !

0Shares
0 0

Internal Server Error em PHP

Esse é o erro.

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at admin@example.com to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.

Para corrigir basta criar .htaccess assim:

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . perfil.php [L]

Share and Enjoy !

0Shares
0


0