Category : apache

Does +FollowSymLinks work with Windows shortcuts? It seems it is completely ignored by Apache under Windows 10. The importance of this is that, some web frameworks, like Laravel, use this directive to access storage folder (or any other folder outside the public directory) throughout symbolic links. Then, these features are simply ignored in Apache under ..

Read more

My website paroject is written with laravel framework and it configured with apache web server. Some of requests in every pages get 400 error randomly with this message "Your browser sent a request that this server could not understand." I read some articles in about that and I think that’s issue related to resources config, ..

Read more

I try to redirect my localhost to my laravel project/public but the url become localhost/index.php/login instead of localhost/login my apache24/config/httpd : DocumentRoot "C:/AppServ/www/project/public" <Directory "C:/AppServ/www/public"> Options Indexes FollowSymLinks AllowOverride All Require all granted </Directory> my apache24/config/extra/ httpd-vhosts : <VirtualHost *:80> DocumentRoot "C:AppServwwwprojectpublic" ServerName localhost </VirtualHost> my project/public/.htaccess : Options -MultiViews -Indexes RewriteEngine On # Handle ..

Read more

I have this Dockerfile FROM php:7.4-apache RUN apt-get update && apt-get install -y curl g++ git libbz2-dev libfreetype6-dev libicu-dev libjpeg-dev libmcrypt-dev libpng-dev libreadline-dev sudo unzip zip && rm -rf /var/lib/apt/lists/* RUN echo "ServerName laravel-app.local" >> /etc/apache2/apache2.conf ENV APACHE_DOCUMENT_ROOT=/var/www/html/public RUN sed -ri -e ‘s!/var/www/html!${APACHE_DOCUMENT_ROOT}!g’ /etc/apache2/sites-available/*.conf RUN sed -ri -e ‘s!/var/www/!${APACHE_DOCUMENT_ROOT}!g’ /etc/apache2/apache2.conf /etc/apache2/conf-available/*.conf RUN apt update RUN ..

Read more

This is a new website build, and, the site is working fine with HTTP but not HTTPS. On HTTPS the site / root loads fine, but any routing sitename/route results in apache reporting "Not Found" (see screenshot). .htaccess attempt #1 <IfModule mod_rewrite.c> <IfModule mod_negotiation.c> Options -MultiViews -Indexes </IfModule> RewriteEngine On # Handle Authorization Header RewriteCond ..

Read more

When I enter long URL, I get blank white page without any source code. At example: http://www.laravel-page.com/dashboard/account/edit works. But http://www.laravel-page.com/dashboard/account/edit/success does not works. Of course I do not have to add /success at end of URL. That is only example. I would like to know why it does not work. My project works on Apache. ..

Read more

I couldn’t be able to achieve that. I have a website www.example.com Wanna redirect http://example.com -> https://www.example.com https://example.com -> https://www.example.com http://www.example.com -> https://www.example.com AND FOR WILDCARD SUBDOMAINS http:// *.example.com -> https:// *.example.com Have cpanel access and using Laravel. Thanks Sourc..

Read more

I am using Cloudinary by using library "https://github.com/jrm2k6/cloudder" but when I upload large video files greater than 100MB it shows "Entity too large: error, I am using apache server. Also try Cloudinary upload_large function but show same error. Cloudder::uploadVideo($tmpFilePath,null, [‘resource_type’ => ‘video’,’chunk_size’ => 60000000000]); $response = Cloudder::getResult(); Resulted error: Sourc..

Read more

Have small questions. It’s my first Deploy to server My laravel app. I must add to .htaccess next rows: RewriteEngine on RewriteCond %{HTTP_HOST} ^1xbet-mobile.online$ [NC,OR] RewriteCond %{HTTP_HOST} ^1xbet-mobile.online$ RewriteCond %{REQUEST_URI} !public/ RewriteRule (.*) /public/$1 [L] <IfModule mod_rewrite.c> <IfModule mod_negotiation.c> Options -MultiViews -Indexes </IfModule> RewriteEngine On # Handle Authorization Header RewriteCond %{HTTP:Authorization} . RewriteRule .* – ..

Read more

I have Managed VPS and i encountered this error when i try to use websockets with apache. here is my env part. i have configured seperate subdomain for websockets which have its own ssl. and in combined file i have both cert and private key. LARAVEL_WEBSOCKETS_SSL_LOCAL_CERT=/var/cpanel/ssl/apache_tls/wss.mbaye.ml/combined LARAVEL_WEBSOCKETS_SSL_LOCAL_PK=/var/cpanel/ssl/apache_tls/wss.mbaye.ml/combined here is websockets part. ‘dashboard’ => [ ‘port’ ..

Read more

I am using Nuxtjs as frontend of my application and Laravel framework as backend. I hosted my application on an Apache Centos server. After running application with pm2 on localhost:3000 I can not get real ip of user in Laravel. My Centos version: Operating System: CentOS Linux 7 (Core) CPE OS Name: cpe:/o:centos:centos:7 Kernel: Linux ..

Read more

I have hosted my Lumen(version : 5.7.8), in my apache server. The site has been accessed using https. So in AppProvidersAppServiceProvider I have added public function boot() { URL::forceScheme(‘https’); } When I run swagger,which I have installed using DarkaOnline, it is showing blank page and got the following error in the console. Uncaught ReferenceError: SwaggerUIBundle ..

Read more

hi i have problem enabling https on swoole with laravel api when i’m tryping to sending api request through http it works well but i can’t through https : curl http://127.0.0.1:8008/api/v1/search?include=searchplace it works curl https://127.0.0.1:8008/api/v1/search?include=searchplace not work hosting application on apache2 ubuntu. php –ri swoole Swoole => enabled Author => Swoole Team <[email protected]> Version => ..

Read more