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 ..
I am currently in a web programming class. When uploading the site to the server, the class as a whole has been having issues working around not having permission to write files or move them. My instructor suggested that a web.config or .htaccess may be a work-around. Will one of these solve the issues? I ..
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’); ..
I am trying to setup a Laravel 5.5 app on azure php version 7.4. However PUT methods are not working. I have tried adding a "handlers" that should allow it to work but my application is now getting the error "The page cannot be displayed because an internal server error has occurred." if I remove ..
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 ..
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 ..
I’m having to deploy a website in PHP to a windows server, and I’m having trouble re-writing the .htaccess to a web.config file. I’m not very knowledgeable in url rewriting rules btw. I have 3 .htaccess files, one for each directory. root |– app |– .htaccess |– public |– .htaccess .htaccess For the root, I ..
I am running WordPress on Azure under PHP 7.4 and require the ability to serve files with no file extensions on my PHP site. The url I am trying to load looks like this https://myurl.com/.well-known/acme-challenge/6uVkXzXxHHkm1d6cQiUqI07lrYspInk7i9WCKKl-RlQ Unfortunately no matter what I seem to do I am still getting a 404 Page Not Found error on WordPress ..
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. ..
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..