开发者

Apache 2 The requested URL / was not found on this server

I'm hosting a couple of webservers. I've set the first one up with no problems. On the second server when I attempt to navigate to it (http://192.168.1.47:99/) I get this error "The requested URL / was not found on this server." I know that the port is being forwarded properly because I can access "http://192.168.1.47:99/phpmyadmin" just fine. I've tried to figure this out for a week or so now and I'm at a loss. Any help would be greatly appreciated!

Ubuntu Linux 10.04 Apache2 php5

I'll provide any additional information that may be needed. Thanks!

Update - Included c开发者_JAVA技巧onfig files * apache2.conf * httpd.conf * ports.conf * sites enabled


we need to change the following lines to /etc/apache2/apache2.conf: Note :- Change here AllowOverride None to AllowOverride All usingsudo property

Options Indexes FollowSymLinks AllowOverride All Require all granted Now :- Restart your web server sudo /etc/init.d/apache2 restart

It will work now..


As far as I understand you, you want your server to respond on Port 99. Your configuration is listening on Port 80 instead. Change the following line in sites-enabled:

<VirtualHost *:80>

to

<VirtualHost *:99>

and in ports.conf

NameVirtualHost *:80

to

NameVirtualHost *:99

Restart your apache. That should do it.


If you want to make it work without changing port you can follow these steps

sudo nano /etc/apache2/apache2.conf

and add following line at end

Include /etc/phpmyadmin/apache.conf

then restart apache

/etc/init.d/apache2 restart

Better explain here https://askubuntu.com/questions/55280/phpmyadmin-is-not-working-after-i-installed-it

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜