Sponsored Content
Operating Systems Linux Ubuntu How to authorisation resctricted access to public_ip:port/extension url in Ubuntu? Post 302909766 by Akshay Hegde on Saturday 19th of July 2014 07:24:26 AM
Old 07-19-2014
Checkout <Directory> block in the main Apache configuration,

Configuration will be something like this

Code:
<VirtualHost *:8080>
...
...
# Private access
<Directory /var/www/yoursite/userdirectory>
    AuthUserFile /path/to/.htpasswd
    AuthName "Some Name"
    AuthType Basic
    require user <username>
    deny from all
    allow from <allowed ip>
</Directory>

# Public access
<Directory /var/www/yoursite/public>
    Satisfy any
</Directory>
...
...
</VirtualHost>

 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

console access via serial port - settings

looking for the answer to console port access via 25pin serial. Can i tip in from another unix box for access? (5 Replies)
Discussion started by: simplimarvelous
5 Replies

2. UNIX for Dummies Questions & Answers

restrict tcp-port access

Hi Is there any way to restrict the TCP-IP port usage. I want to restrict TCP-IP port 1500/1550 to the oracle osuser. Tanks in advance. Remi (2 Replies)
Discussion started by: remivisser
2 Replies

3. Ubuntu

no wireless access on my laptop in ubuntu 9.10

Hii i have installed ubuntu 9.10 and my hp laptop has a wireless (this one works just like the normal volume button touch screen if u touch it wireless works or else it doesnot ) now after installing ubuntu it glows always red and never turn blue.. i have windows 7 on other partition it... (0 Replies)
Discussion started by: phoenix_nebula
0 Replies

4. UNIX for Dummies Questions & Answers

Check the URL is alive or dead with port number

Hi, I am running certain weblogic instance, in which it's hard to find which instance is stopped or running after stopping the weblogic , cause process status is for all the instance is same. A URL which shows the instance is stopped or running. But i have major challenge to check it through... (2 Replies)
Discussion started by: posix
2 Replies

5. Cybersecurity

Limit access in Ubuntu

can we use semantec or any kind of software in ubuntu/linux to limit access of a user to edit a specific file? example::: a. will not play media player or use usb. we will edit blacklist.conf to do this. however user should still be able to do apt-get install, shutdown, edit other files etc.... (1 Reply)
Discussion started by: lhareigh890
1 Replies

6. IP Networking

VPN ssh access over RDP port?

Guys, Can I use an open RDP port to gain ssh access to my Linux server running the other side of our firewall? I work from home on the odd occasion, we only have RDP port 3389 available once logged into the VPN. I would rather ssh into my workstation without the need for a desktop display. ... (3 Replies)
Discussion started by: general_lee
3 Replies

7. Solaris

Why I cannot access internet from Solaris guest using url?

Hi all, I'm using virtualbox bridged adapter Host:Windows 7 Guest: Solaris 11 while I can ping between the host and guess, I cannot access the Internet from the solaris guest. here's my settings: while I can ping 173.194.38.128 (which is actually google.com), I cannot ping... (3 Replies)
Discussion started by: jediwannabe
3 Replies

8. Shell Programming and Scripting

HTTP::DAV module errors - can't access URL

Hello, I am attempting to use the HTTP/DAV module in perl, and I have a script that transfers files to a website. However, I get the following error message: "Couldn't open https://www.thisismyurl.com/DAV: The URL "https://www.thisismyurl.com/DAV" is not DAV enabled or not accessible." ... (0 Replies)
Discussion started by: Scatterbrain26
0 Replies

9. Ubuntu

How to access website without port in Ubuntu 14.04?

Hello All, I am trying to open a webpage in ubuntu browser "xxx.com:8008" which works fine but i would like to open it without having to mention the port, Is there anyway in ubuntu where we can access the website without having to mention 8008 port.Thanks in advance. (2 Replies)
Discussion started by: gull05
2 Replies
XvStopVideo(3)							  libXv Functions						    XvStopVideo(3)

NAME
XvStopVideo - stop active video SYNOPSIS
#include <X11/extensions/Xvlib.h> int XvStopVideo(Display *dpy, XvPortID port, Drawable draw); ARGUMENTS
dpy Specifies the connection to the X server. port Specifies the port for which video is to be stopped. draw Specifies the drawable associated with the named port. DESCRIPTION
XvStopVideo(3) stops active video for the specified port and drawable. If the port is not processing video, or if it is processing video in a different drawable, the request is ignored. When video is stopped a XvVideoNotify(3) event with detail XvStopped is generated for the associated drawable. RETURN VALUES
[Success] Returned if XvStopVideo(3) completed successfully. [XvBadExtension] Returned if the Xv extension is unavailable. [XvBadAlloc] Returned if XvStopVideo(3) failed to allocate memory to process the request. DIAGNOSTICS
[XvBadPort] Generated if the requested port does not exist. [BadDrawable] Generated if the requested drawable does not exist. SEE ALSO
XvGetVideo(3), XvPutVideo(3), XvVideoNotify(3) X Version 11 libXv 1.0.9 XvStopVideo(3)
All times are GMT -4. The time now is 11:44 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy