在服务器上上传代码后出现问题 [英] getting issue after uploading code on server

查看:87
本文介绍了在服务器上上传代码后出现问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以帮我解决如何在server.working本地运行代码很好但在服务器上传时显示我的HTML内容。



这是我的服务器网址后上传

ftp://ankitsisodia.com/UrlRewrite_HttpModule1/administra.aspx\"

can anybody please help me how to run code on server.working locally fine but when uploading on servee showing me html content.

this is my server url after upload
"ftp://ankitsisodia.com/UrlRewrite_HttpModule1/administra.aspx"

推荐答案

这不是你的HTML页面,它是只是通过FTP服务器链接到您的网站。



但是,您需要使用http://链接到您的网站,以便执行它并通过服务器加载您的网站。而不只是向您显示服务器的文件或html内容(服务器上的文件系统,您已从服务中购买或借出)。



最后一件事我会检查托管公司会给你的服务,例如:



1.他们是否提供最低的服务器要求? IIS,Apache等



2.他们是否提供运行HTML页面代码所需的其他软件,例如ASP.NET网页2(如果否则)IIS的PHP插件(如果源代码是PHP)。



这些是您应该看到的主要内容,以便您的网站运行异常。
That is not your HTML page, it is just a link to your website through an FTP server.

However, you need to be using the http:// link to your website so that it is executed and your website is loaded through a server. Instead of just showing you the file or html content of your server (file system on the server, that you have bought or lent from the service).

Last thing by me would be to check the services that the Hosting company would give you, such as:

1. Do they give the minimal server requirements? IIS, Apache etc.

2. Do they give other softwares that are required to run the code of your HTML page, such as ASP.NET Web Pages 2 (if required) otherwise PHP plugin for IIS(if the source code is in PHP).

These are the main things that you should see, so that your website would run instead of an exception.


您好,



您提供的URL是FTP服务器。你需要做的是



1.请将所有文件通过FTP上传到你的根文件夹

2.设置你自己的默认值页面

3.如果您有任何问题,请联系您的托管服务提供商。或者如果有任何错误,请在此处粘贴完整的错误消息。
Hi,

The URL you have given is FTP server. What you need to do is

1. Please kindly upload all your files via FTP to your root folder
2. Setup your own default page
3. If you have any problem, please kindly contact your hosting provider. Or if there is any error, please kindly paste the full error message here.


这篇关于在服务器上上传代码后出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆