JQX Posted December 1, 2012 Report Share Posted December 1, 2012 Hi, I just installed Uniform Server to Windows Server. This server hosts a web page that is available from internet. If I open web browser and type "http://server_ip" it opens the "index of" page and shows one folder (web page folder that this server is hosting) and favicon file. I want to restrict access to this root directory and want to allow access only to this http://server_ip/hosted_web_page. How I can do this? Quote Link to comment Share on other sites More sharing options...
JQX Posted December 1, 2012 Author Report Share Posted December 1, 2012 I figured it out. I added "Options -Indexes" to httpd.conf -file in www -folder and now it says "You don't have permission to access / on this server". Quote Link to comment Share on other sites More sharing options...
Ric Posted December 2, 2012 Report Share Posted December 2, 2012 Restricting access to root folder www is configurable from the server configuration menu. First undo any changes you have made httpd.conf these are not required. Read the manual page; Root folder www – Access (general_access_www.html) it provides details for setting root folder access and restricting access using a name/password. View manual page:From folder UniServer run help.exe – This opens manual in default browserLeft menu click item General – Opens general pageLeft menu click item Root folder www AccessAll the bestRic Quote Link to comment Share on other sites More sharing options...
JQX Posted December 2, 2012 Author Report Share Posted December 2, 2012 Restricting access to root folder www is configurable from the server configuration menu. First undo any changes you have made httpd.conf these are not required. Read the manual page; Root folder www – Access (general_access_www.html) it provides details for setting root folder access and restricting access using a name/password. View manual page:From folder UniServer run help.exe – This opens manual in default browserLeft menu click item General – Opens general pageLeft menu click item Root folder www AccessAll the bestRic Hi, I tried that already but after that I can no longer access the web page under the root folder anymore. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.