Jump to content
View in the app

A better way to browse. Learn more.

The Uniform Server Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

VirtualHosting

Featured Replies

yea i just got a simple share net work drive 400GB on a windows xp pro & i have tryed ever thing & got the The Uniform Server set up as a service the drive is maped ever time i start up my pc any ideas on geting it to work i have been told that it is a rights problm under windows <_<

IPB Image

 

IPB Image

if you like this Uniform Server User Sing take em i do not mind share

IPB Image

 

IPB Image

So Uniform Server works on that PC but you are trying to setup a VirtualHost?

 

There are about 6 post in this forum that can help you with the basic idea... pull out what you need from them and i will be able to help you further.. start with the httpd.conf code for VirtualHost

 

Thanks..

  • Author

ok here is my code in the config file

 

LoadModule vhost_alias_module modules/mod_vhost_alias.so

NameVirtualHost *

#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.
#
#<VirtualHost *>
#    ServerAdmin webmaster@dummy-host.example.com
#    DocumentRoot c:/Uniform3_1_1s/www/docs/dummy-host.example.com
#    ServerName dummy-host.example.com
#    ErrorLog logs/dummy-host.example.com-error_log
#    CustomLog logs/dummy-host.example.com-access_log common
#</VirtualHost>

<VirtualHost *>
   ServerName localhost
   DocumentRoot "c:/Uniform3_1_1s/www/"
</VirtualHost>

<VirtualHost *>
   ServerName hostname1
   DocumentRoot "Z:/user2/www/"
   php_flag register_globals on
   php_flag allow_call_time_pass_reference  On
   AddType audio/x-scpls pls
   AddType audio/x-mpegurl m3u
   AddType video/x-ms-asf asf asx
   AddType audio/x-ms-wma wma 
   AddType audio/x-ms-wax wax
   AddType video/x-ms-wmv wmv
   AddType video/x-ms-wvx wvx
   AddType video/x-ms-wm wm
   AddType video/x-ms-wmx wmx
   AddType application/x-ms-wmz wmz
   AddType application/x-ms-wmd wmd
</VirtualHost>

<VirtualHost *>
   ServerName hostname2
   DocumentRoot "Z:/user3/www/"
</VirtualHost>

 

the Z:\ is a mapped to my SimpleShare Network Attached Storage drive 400GB <_<

 

i get Warning: DocumentRoot [Z:/user2/www/] does not exist Warning: DocumentRoot [Z:/user3/www/] does not exist in the error log

IPB Image

 

IPB Image

if you like this Uniform Server User Sing take em i do not mind share

IPB Image

 

IPB Image

ok here is my code in the config file

 

LoadModule vhost_alias_module modules/mod_vhost_alias.so

NameVirtualHost *

#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.
#
#<VirtualHost *>
#    ServerAdmin webmaster@dummy-host.example.com
#    DocumentRoot c:/Uniform3_1_1s/www/docs/dummy-host.example.com
#    ServerName dummy-host.example.com
#    ErrorLog logs/dummy-host.example.com-error_log
#    CustomLog logs/dummy-host.example.com-access_log common
#</VirtualHost>

<VirtualHost *>
   ServerName localhost
   DocumentRoot "c:/Uniform3_1_1s/www/"
</VirtualHost>

<VirtualHost *>
   ServerName hostname1
   DocumentRoot "Z:/user2/www/"
   php_flag register_globals on
   php_flag allow_call_time_pass_reference  On
   AddType audio/x-scpls pls
   AddType audio/x-mpegurl m3u
   AddType video/x-ms-asf asf asx
   AddType audio/x-ms-wma wma 
   AddType audio/x-ms-wax wax
   AddType video/x-ms-wmv wmv
   AddType video/x-ms-wvx wvx
   AddType video/x-ms-wm wm
   AddType video/x-ms-wmx wmx
   AddType application/x-ms-wmz wmz
   AddType application/x-ms-wmd wmd
</VirtualHost>

<VirtualHost *>
   ServerName hostname2
   DocumentRoot "Z:/user3/www/"
</VirtualHost>

 

the Z:\ is a mapped to my SimpleShare Network Attached Storage drive 400GB  <_<

 

i get  Warning: DocumentRoot [Z:/user2/www/] does not exist Warning: DocumentRoot [Z:/user3/www/] does not exist  in the error log

2238[/snapback]

 

On Windows machines you have only access to mapped network Drives as User, not as systemuser or so. So you must start the WAMP / Uniforserver as a 'Superuser' or Admin.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Running Uniform Server [3.3] from a 512MB USB Stick

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Running Uniform Server [3.3] on a 60GB USB HDD :)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  • Author

Admin by default on my sys <_<

IPB Image

 

IPB Image

if you like this Uniform Server User Sing take em i do not mind share

IPB Image

 

IPB Image

sure, sorry for my mistake, i had this Problem if i was running a FTP Server as a Service.

So i had there to define a 'User' with Networking R/W rights to start this Service becouse of the System Service has no Networking rights <_<

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Running Uniform Server [3.3] from a 512MB USB Stick

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Running Uniform Server [3.3] on a 60GB USB HDD :)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  • Author

ok how did you do this ?

IPB Image

 

IPB Image

if you like this Uniform Server User Sing take em i do not mind share

IPB Image

 

IPB Image

I am not quite sure if a network mapped drive will work with the Apache Server...

 

When also running as servicee, the server may start before the mapping of the drive is done.... i dont think it is a rights problem cause the server is mapped already.. we only have to figure out why it is not working with the server/why the server is not seeing it.

  • Author

the thing about it is & it is the damnest thing lol ok it works the fine with the start.bat but you go to run it as a service forget it . it dose not see it i have tryed ever thing who knows lol <_< :D

IPB Image

 

IPB Image

if you like this Uniform Server User Sing take em i do not mind share

IPB Image

 

IPB Image

You have the possibility to run a Service as User, so try this one <_<

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Running Uniform Server [3.3] from a 512MB USB Stick

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Running Uniform Server [3.3] on a 60GB USB HDD :)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  • Author

lol ok this one what lol ? <_<

IPB Image

 

IPB Image

if you like this Uniform Server User Sing take em i do not mind share

IPB Image

 

IPB Image

  • Author

lol well he stared to say & then stoped lol

IPB Image

 

IPB Image

if you like this Uniform Server User Sing take em i do not mind share

IPB Image

 

IPB Image

  • Author

lol i guess :)

IPB Image

 

IPB Image

if you like this Uniform Server User Sing take em i do not mind share

IPB Image

 

IPB Image

  • 1 month later...

removed due to doublepost :)

post-394-1142297822_thumb.jpg

post-394-1142297835_thumb.jpg

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Running Uniform Server [3.3] from a 512MB USB Stick

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Running Uniform Server [3.3] on a 60GB USB HDD :)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

lol i guess :D

2386[/snapback]

 

As first, sorry for my long away time :P

 

I will try to explain a little with my broken english (i'm here from Germany :) )

 

Here is a Screene of a Standard FTP Service: post-394-1142297822_thumb.jpg

 

This Service isn't able to connect to Network drive's (also mapped drives)

 

Here a Screene of a corrected logon for this service: post-394-1142297835_thumb.jpg

 

this was all, what i was trying to tell you :)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Running Uniform Server [3.3] from a 512MB USB Stick

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Running Uniform Server [3.3] on a 60GB USB HDD :)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  • 2 weeks later...

hmmm, still really don't understand, but i will like to say that Networked drives are not real drives and are lower than mapped subst drives. They can't be used in service or anything like that.

  • 2 weeks later...

What i try to explain (with my really broken english) is:

You have to define a User or Superuser or anything, which starts the Service, to gain access onto Network (UNC) Mappings.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Running Uniform Server [3.3] from a 512MB USB Stick

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Running Uniform Server [3.3] on a 60GB USB HDD :)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.