web-hosting

are there any gotchas for hosting a Silverlight app on a Linux server?

橙三吉。 提交于 2019-12-07 08:55:29
问题 I'm building a new Silverlight app for a photography studio. I was about to say "you have to have a Windows-based server hosting it" and then I thought, wait is that right? Looks like it's not. So I could point him toward a Linux host. I know you have to register the MIME types (from a different SO thread). Are there any other caveats or gotchas that I need to know about? Assume for a second that I know next to nothing about Linux. Edit: what if the app needs to talk to a database (mySQL)?

htaccess redirect URI to parent directory

喜欢而已 提交于 2019-12-07 07:09:29
问题 I have a website hosted in /var/www/thesite (apache server), it's a Symfony2 website so inside this folder I have a web folder to which my virtual host is pointing. So my virtualhost is www.mysite.com -> /var/www/thesite/web In this web folder I have a .htaccess to format URL nicely. Now, I've added an API in /var/www/thesite/api , the API is implemented using Silex . I want to redirect all request http://www.mysite.com/api to this new framework. So I've added in /var/www/thesite/web/

ASP .NET Core IIS Hosting user identity name is empty and IsAuthenticated=false

末鹿安然 提交于 2019-12-07 04:11:44
问题 I'm running ASP .NET Core dll on IIS (with AspNetCoreModule) With previous ASP .NET I could get the user identity name with: HttpContext.Current.User.Identity.Name since it was called directly in IIS context. With ASP .NET Core the result is null for: this.Request.User.Identity.Name It seems that IIS is not forwarding it or maybe my AspNetCore module doesn't receive it. How can I receive User Identity name? 回答1: I solved the problem. This how I debugged it: Since I was not sure if the user

How to host a JSP website on a webserver?

久未见 提交于 2019-12-07 02:35:48
问题 I have a website developed mostly in HTML and JSP, and accessing a MySQL database. Having never put such a website online before, I wanted to know what are the steps needed to get it up and running online. I know there needs to be a web server. How do I host a JSP website online? 回答1: You want to install the web server yourself, or you want pay for a java host? Between the files, there is a web.xml file (probably in the WEB-INF folder). You need to take a look at it, it contains the webapp

What's the best way to store a password or private key on a web host?

北城以北 提交于 2019-12-07 00:15:19
问题 I'm not referring to passwords that don't have to be used (such as passwords for other users to my site - in which case I really don't have to store them. See https://stackoverflow.com/a/1054069/939213 .) so simply storing hashes is not an option. I'm referring to storing passwords to an SQL database and a private key that the software on the shared server has to use. I assume there's no really secure way to do it. I just want to know what's the best in this situation . I'm trying to keep

1and1 windows hosting with asp.net [closed]

喜你入骨 提交于 2019-12-06 14:18:18
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . Not sure if anyone has used 1and1 MS Hosting and encountered problems with their trust levels? I am simply trying to send mail using system.net.mail in asp.net (which works fine) but when its online with 1and1 I get this error: Description: The application attempted to perform an operation not allowed by the

Need a simple CMS. Should I customise an existing CMS or build from scratch?

China☆狼群 提交于 2019-12-06 14:14:03
问题 I'm building a VERY simple web hosting service that will cater to the ma and pa type small business. Now my dilemma is whether I should built it from scratch or use an existing CMS. The CMS needs to be customisable, as I wish to build my own client. I only want the user to have to put a title and content. Everything else will be hidden from the end user. Later on I want to be able to associate my own custom built web applications to a given page, so the CMS needs to be able to cater for that.

How to deploy Angular Universal project to standard hosting?

冷暖自知 提交于 2019-12-06 13:49:18
问题 I have my Angular Universal project working on my localhost. So now I would like to test it on my standard web hosting with Node.js installed. I have run: npm run build and received dist folder with client and server subfolders. How should I use these folders and files into them to run the project on the hosting? Thanks. 回答1: So I have deployed my Angular Universal project to my hosting. I can say that the support team of my hosting gave me a lot of help. I don't know if is it possible to

Proper app.yaml handlers configuration for Google App Engine for a static html website

戏子无情 提交于 2019-12-06 12:54:05
问题 Here is the file structure of my website: public │ 404.html │ app.yaml │ index.html │ index.xml │ prereqs.zip │ sitemap.xml │ sof2018.py | ├───categories │ index.html │ index.xml ├───css │ styles.css ├───home │ index.html ├───js │ scripts.js ├───prerequisites │ index.html ├───scripts │ │ index.html │ │ index.xml │ │ │ ├───page │ │ └───1 │ │ index.html │ │ │ └───sof2018 │ index.html ├───tags │ index.html │ index.xml └───usage index.html Basically I need to ensure the following: if any folder

Laravel routes aren't working with 1&1

北城余情 提交于 2019-12-06 12:45:04
问题 Many many many topics about this, but I have to say that none are helping me a great deal. I have a website with Laravel and Bootstrap uploaded to my root folder of 1&1. My root directory looks like this : app bootstrap logs public List item vendor artisan composer.json composer.lock CONTRIBUTING.mu readme.md composer.phar info.php server.php phpunit.xml With the public directory being the way to access the views, I am pointing my browser to domain.co.uk/public, and that works absolutely fine