Intranet configuration

Problems with the Linux version of XAMPP, questions, comments, and anything related.

Intranet configuration

Postby Xamppingaround » 07. June 2016 05:37

Hallo! :)
i am having a bit of a problem with my intranet network configuration, basically, i edited the "httpd-vhost.conf" with the internal ip address of the machine(CentOS6.8, Selinux disabled) hosting my Joomla's website, when i put that address on that pc, the site visualize without problems, but when i try to open that page from a different pc(Windows Vista) on the same local network, it doesn't work.
Does anyone knows what else should i change or add to make it work???


Here is a copy of the httpd file:

# Virtual Hosts
#
# Required modules: mod_log_config

# If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at
# <URL:http://httpd.apache.org/docs/2.4/vhosts/>
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.

#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ServerName or ServerAlias in any <VirtualHost> block.
#

<VirtualHost *:8080>
ServerAdmin webmaster@dummy-host.example.com
DocumentRoot "/home/Asus/x/apache2/docs/dummy-host.example.com"
ServerName 192.168.0.33:8080/joomla http://www.x.com
ServerAlias http://192.168.0.33:8080/joomla http://www.x.com
ErrorLog "logs/dummy-host.example.com-error_log"
CustomLog "logs/dummy-host.example.com-access_log" common
</VirtualHost>

<VirtualHost *:80>
ServerAdmin webmaster@dummy-host.example.com
DocumentRoot "/home/Asus/x/apache2/docs/dummy-host.example.com"
ServerName 192.168.0.33:8080/joomla http://www.x.com
ServerAlias http://192.168.0.33:8080/joomla http://www.x.com
ErrorLog "logs/dummy-host.example.com-error_log"
CustomLog "logs/dummy-host.example.com-access_log" common
</VirtualHost>

<VirtualHost *:80>
ServerAdmin webmaster@dummy-host2.example.com
DocumentRoot "/home/Asus/x/apache2/docs/dummy-host2.example.com"
ServerName dummy-host2.example.com
ErrorLog "logs/dummy-host2.example.com-error_log"
CustomLog "logs/dummy-host2.example.com-access_log" common
</VirtualHost>
Xamppingaround
 
Posts: 19
Joined: 20. July 2012 19:06
XAMPP version: Bitnami
Operating System: Windows Vista/CentOS6.8

Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 44 guests