本文介绍了如何访问phpmyadmin的只有8080端口Apache中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我试过
vim /etc/phpmyadmin/apache.conf但我不能在这里放一个虚拟主机。
but I can not put a VirtualHost here.
我想改变这个配置只列出端口8080,谁能帮助?
I want to change this configuration to list only the port 8080, can anyone help?
感谢您
我要的是:
www.site/phpmyadmin -> failure www.site:8080/phpmyadmin -> OK我要离开的端口80的网站的其余部分。
I want to leave access to port 80 for the rest of the site.
推荐答案您可以Listen指令改为8080。
You can change the Listen directive to 8080.
搜索Apache配置为侦听,并从
Search the apache configuration for Listen and change it from
Listen 80到
Listen 8080和重新启动服务器。请记住,这将是全球整个Apache服务器虽然。在CentOS或红帽,它会被称为httpd.conf文件
And restart the server. Bear in mind, this will be global to the whole apache server though. On centos or redhat, it'll be called "httpd.conf"
更多推荐
如何访问phpmyadmin的只有8080端口Apache中
发布评论