记录一下今天的服务器配置经过

背景是:原来服务器上用xampp跑了几个php程序,域名映射用的默认80端口,每个程序有一个虚拟主机。现在要新加一个node程序,也要做端口映射

解决方案应该是用nginx做反向代理,但事出紧急,来不及学习nginx了。于是我想先把原来的php程序改掉端口,先将其与域名解绑。改端口过程中除了几个问题记录如下:
1.n年前的老程序中做了一些奇奇怪怪的跳转,端口号都是写死的,暂时做了修改;
2.暂时关闭了vhost虚拟主机。”/lampp/etc/httpd.conf”文件中,注释掉了”Include etc/extra/httpd-vhosts.conf”。在”Include etc/extra/httpd-vhosts.conf”文件中也做了修改,但是没有用了;
3.wordpress的地址配置做了修改。这一项应该先改的,不然就访问不到它了,我又把lampp改回原来的配置又改了它又改了lampp的配置。
4.修改lampp端口号的方法:”/lampp/etc/httpd.conf”文件中,修改”Listen”项,”ServerName”项。

分类: 其他

10 条评论

g day · 2020年6月21日 上午3:12

I love it when folks get together and share opinions. Great website, keep it up!

g about · 2020年6月21日 下午7:24

Why users still make use of to read news papers when in this technological world all is existing on web?

http://tinyurl.com · 2020年6月26日 下午1:48

Outstanding story there. What occurred after?
Good luck!

http://tinyurl.com/yckmofu5 · 2020年6月26日 下午4:12

I don’t know if it’s just me or if everyone else encountering issues
with your site. It appears like some of the text in your content are running off the screen. Can someone else please comment
and let me know if this is happening to them too?

This may be a issue with my internet browser because I’ve
had this happen before. Many thanks

pasoconya.jp · 2020年6月27日 上午1:00

Good write-up. I absolutely appreciate this site.
Keep it up!

https://thelearnandburnconnection.com/ · 2020年6月27日 上午6:38

obviously like your web-site however you have to take a look at the spelling on quite a few of your posts.

Many of them are rife with spelling problems and I to find it very bothersome to inform the reality however I’ll definitely come again again.

tinyurl.com · 2020年6月27日 上午10:52

You’ve made some decent points there. I looked on the net for additional information about the issue and found most
people will go along with your views on this web site.

cbd oil that works 2020 · 2020年6月28日 上午4:29

Very good info. Lucky me I came across your
site by chance (stumbleupon). I’ve book-marked it for later!

cbd oil that works 2020 · 2020年6月29日 上午4:45

Hi there to all, how is the whole thing, I think every one is getting more from this web site, and your views are pleasant designed for new people.

cbd oil that works 2020 · 2020年6月29日 上午6:10

Good site you’ve got here.. It’s difficult to find high quality writing like yours nowadays.
I truly appreciate people like you! Take care!!

发表评论

电子邮件地址不会被公开。 必填项已用*标注