Jump to content
The Uniform Server Community

Zerolinks

Member
  • Posts

    5
  • Joined

  • Last visited

Previous Fields

  • Main OS
    Windows 8

Zerolinks's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hellow Vijay, If you use zero Xi, you can find all you need in modules folder at https://sourceforge.net/projects/miniserver/files/Uniform%20Server%20ZeroXI/ Best regards.
  2. It works fine with: .htaccess AddType application/x-httpd-php .html .htm test.html (.html or .htm) <html> <body> <p>First try with php:</p> <?php echo "My first PHP script!"; echo '<h1>'.time().'</h1>'; ?> </body> </html>
  3. Have you installed a VC Libraries on your VM? http://www.uniformserver.com/ZeroXI_documentation/
  4. Hellow, Try to run UniController.exe as Administrator and be sure you have a VC Libraries (or newest version) installed. If you have change or add anything in Apache config file so, do an Apache syntax Check on Uniserver Pannel, go to Apache > Apache syntax Check If you got any error, try to correct it first before trying to restart apache.
  5. Hellow, try to do like this For example: Your server hosted on IP: 192.168.0.10 Enable virtual host in httpd.conf ##====== VIRTUAL HOST =========== #To enable uncomment next line Include conf/extra/httpd-vhosts.conf Edit httpd-vhosts.conf # Case 1 : if Access from any local IP though 192.168.0.xx by taping http://192.168.0.10 on browser <VirtualHost _default_:${AP_PORT}> ServerAdmin admin@localhost DocumentRoot ${US_ROOTF}/vhosts/my-website ServerName ${US_SERVERNAME} ErrorLog logs/my-website-error.log CustomLog logs/my-website-access.log common <Directory "${US_ROOTF}/vhosts/my-website/"> Options Indexes Includes AllowOverride All Require all granted </Directory> </VirtualHost> # Case 2: If access from any local ip though a virtual server's name # For each local client, # You need to bind your virtual server's name with your server IP in Windows hosts file # Open Notepad as administrator and load C:\Windows\System32\drivers\etc\hosts # Add after the last line # 192.168.0.10 my-website # Now each client from local ip 192.168.0.xx can access on browser by http://my-website <VirtualHost *:80> ServerAdmin admin@localhost DocumentRoot ${US_ROOTF}/vhosts/my-website ServerName my-website ErrorLog logs/my-website-error.log CustomLog logs/my-website-access.log common <Directory "${US_ROOTF}/vhosts/my-website/"> Options Indexes Includes AllowOverride All Require all granted </Directory> </VirtualHost> Restart your Apache. Now you can access to your site from your LAN by server IP ( Hope it will help even to late
×
×
  • Create New...