Category : web-config

I have an application developed in codeigniter and deployed in IIS Windows shared hosting plesk control panel. When I navigate to the website it doesnt remove the index.php from the url and page is not rendered correctly. Actual url : www.abc.com/index.php/auth Expected url: www.abc.com/auth Note: when I manually type Actual url it redirects the page ..

Read more

I have a PHP app that uses SteampixelRoute for it’s routing. I can’t get it to work with azure. I created another azure app service to see if I can get SteampixelRoute or another routing library to work. Let’s say my index.php is the following: require_once __DIR__ . ‘/vendor/autoload.php’; use SteampixelRoute; Route::add(‘/testroute’, ‘onTestRoute’); Route::add(‘/’, ‘onIndex’); ..

Read more

I’m doing a server project involving the use of Kubernetes, Docker and VirtualBox. I have to create a container with phpmyadmin that’ll talk to two other containers having wordpress and MySQL in them. In the implementation I’m looking at as a reference, there’s a script given in this container’s Dockerfile CMD directive, which contains the ..

Read more

I’m moving from a Linux VPS to a Microsoft Server. With my Linux OS, I was using Apache and could utilize .htaccess In that file, I had this configuration: php_value auto_prepend_file "/inetpub/htdocs/app/tpl/includes/config/config.php" I then ran into the painful realization that .htaccess does not work with IIS, but only Apache. I now know that IIS uses ..

Read more

I installed my project on a subfolder as you can see in the image. -not exact names, I edited the image My project’s folder name is "my-application" and my base url is "https://test.mywebsite.com/my-application/" (defined at the env file). Apparently, the application doesn’t follow the routing whereas my default controller that contains the homepage is ControllersApp::index. ..

Read more

Listen 80 Listen 8383 <VirtualHost 172.20.30.40:80> ServerName www.example.com DocumentRoot "/www/domain-80" </VirtualHost> <VirtualHost 172.20.30.40:8383> ServerName www.example.com DocumentRoot "/www/domain-8080" </VirtualHost> <VirtualHost 172.20.30.40:80> ServerName www.example.org DocumentRoot "/www/otherdomain-80" </VirtualHost> <VirtualHost 172.20.30.40:8383> ServerName www.example.org DocumentRoot "/www/otherdomain-8383" </VirtualHost> Sourc..

Read more