Jump to content
The Uniform Server Community

Recommended Posts

Posted

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

Posted

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..

Posted

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

Posted
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 :)

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

Posted

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 :)

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

Posted

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.

Posted

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

Posted

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 :)

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

  • 1 month later...
Posted

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 :)

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

Posted
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...
  • 2 weeks later...
Posted

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...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...