Questions tagged as 'web.config'

1
answer

Configure web.config file for PHP project in subdirectories

I have a site in php under test in a directory above the root of the official website. To set up friendly URLs ( remove .php ) is by web.config . I made a rule that does not work for subdirectory files. Ex: products / something and produ...
asked by 28.06.2017 / 17:34
0
answers

How to do domain redirection through web.config

I would like to redirect URL through web.config by .htaccess the code looks like this: <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTP_HOST} ^dominio.com.br$ [OR] RewriteCond %{HTTP_HOST} ^www.dominio.com.br$...
asked by 13.11.2018 / 19:38
0
answers

Differentiate content and listing in friendly URL

I have a question about how to separate the querystrings for content pages (post) and listing. Today it is like this: Content page Domain.com / page.asp? Content = 123 Page for content listing Domain.com / page.asp? Section = Section & cat = Cat...
asked by 15.10.2018 / 19:47
0
answers

Migrating a Windows server site (.aspx files)

I need to migrate a Windows server site that has .aspx files. The guideline that was passed was to only migrate the FTP files that would work, since the database used is an .mdb file. However, when you migrated to Locaweb's windows server, th...
asked by 14.10.2018 / 14:52
1
answer

Redirect to login screen constantly ASP.NET MVC

Constantly while browsing the site the user is being redirected to the login screen. I myself navigate several screens by clicking the menus and randomly the system goes to the login. I already set the timeout of the session with a fairly high t...
asked by 23.09.2018 / 22:40
0
answers

Web.Config multiple domains

I have a hosting with multiple domains, each site has its system of routes. In the hosting (httdocs) has my main site where I configured the route of the web.config, until everything is working normally. However when I try to configure the route...
asked by 21.09.2018 / 18:44
0
answers

failure url rewrite slim iis 10

I'm trying to follow the slim slim tutorial, but it always gives page not found when access localhost: 8080 / hello / alan. I'm using iis 10. I installed url rewrite 2.0, and my web.config looks like this: <?xml version="1.0" encoding="...
asked by 10.07.2018 / 12:53
0
answers

Rewrite and redirect issues after I get SSL certificates

Hello! I am having problems with redirects after I have contracted two SSL certificates through Locaweb and am not experienced in configuring the web.config file. Since I did not get help from them (and they probably were not even in the mood to...
asked by 08.05.2018 / 19:33
0
answers

Redirect application in IIS when pool is stopped

I have an ASP.NET C # application that is updated by another application on the server. When I start the process of updating the first application in the second I stop the pool in which the first one is running. At this point I would like to...
asked by 03.05.2018 / 18:08
0
answers

How do I use a web.config key in the controller?

In my web.config I have the following key: <appSettings> <add key="teste" value="teste"/> <appSettings> What do I need to do to use this key in my controller?     
asked by 02.04.2018 / 16:46