Hello,
I need a little help configuring a site on Apache.
I'm moving a web from an apache server (not xampp) to an lampp-apache server, on linux.
The old apache server has a virtual host configuration. So, when someone point to www.mysite.com, he was redirected to /var/www/mysite/
But on my lampp-server I don't need to write a dns entry like that. All I just need is to change the document root only for this site. But I'd like to request this site writing something like http://ip-server/mysite/
So, in the new server with lampp I enabled http-vhost.conf on httpd.conf, and then I added the following lines inside http-vhost.conf
<VirtualHost *:9090>
DocumentRoot /opt/lampp/htdocs/mysite/
</VirtualHost>
That's because all I need is that when someone point to http://ip-server:9090 Apache redirects it to the site /opt/lampp/htdocs/mysite/
So, the results of this request would be something like http://ip-server:9090/mysite/index.php
But it doesn't works.
Besides it, I have other site configured in lampp-apache, and it doesn't works after I enabled http-vhost.conf on httpd.conf.
I've checked this config by doing telnet to the port 9090, and it doesn't respond.
Thank you for your help.