I installed xampp on a comupter (for example A) in a network, I set IP for apache so users in the network are able to access the localhost on the machine A. I installed a web project in htdocs directory so users can see that page using IP_OF_MACHINE/project. the problem is they can see IP_OF_MACHINE/xampp or IP_OF_MACHINE/phpmyadmin page while I want them to be able to see only the project not other pages. How do I can achieve this?
How to limit access to http://localhost/xampp/
9.4k Views Asked by M a m a D At
1
There are 1 best solutions below
Related Questions in PHP
- How to add the dynamic new rows from my registration form in my database?
- Issue in payment form gateway
- How to create a facet for WP gridbuilder that displays both parent and child custom fields?
- Function in anonymous Laravel Blade component
- How to change woocomerce or full wordpress currency with value from USD to AUD
- General questions about creating a custom theme Moodle CMS
- How to add logging to an abstract class in php
- error 500 on IIS FastCGI but no clue despite multiple error loggings activated
- Composer installation fails and reverts ./composer.json and ./composer.lock to original content
- How to isolate PHP apps from each other on a local machine(Windows or Linux)?
- Laravel: Using belongsToMany relationship with MongoDB
- window.location.href redirects but is causing problems on the webpage
- Key provided is shorter than 256 bits, only 64 bits provided
- Laravel's whereBetween method not working with two timestamps
- Implementing UUID as primary key in Laravel intermediate table
Related Questions in APACHE
- Special access rule in an .htaccess file for IP addresses, authorized only for one directory structure
- How to isolate PHP apps from each other on a local machine(Windows or Linux)?
- Cannot load modules/mod_dav_svn.so into server
- How to ignore case in regexp mapping in a .htaccess rewrite rule?
- Oracle Http server ISNT-07551
- I cant access file directory with PHP local host on XAMPP. it just shows one of the files I have in my visual studio code
- Apache Reverse Proxy: only one proxy directive is working. Second one is ignored
- Issue with Django --> Apache WSGI deployment
- changing the node version used by apache web server
- Apache: How can I redirect to a subfolder with a URL param but serve required content via the main URL?
- Why/How does Apache auto-include "DHE" TLS1.2 ciphers while nginx needs "dhparams" file?
- Set up MX records in apache/Ubuntu to point to external mail server
- How to proxy to another port?
- Php can not upload file out of /var/www/html even after disabling Selinux
- Serve static site on S3 + CloudFlare with Apache retaining the source URL
Related Questions in PHPMYADMIN
- How to add the dynamic new rows from my registration form in my database?
- window.location.href redirects but is causing problems on the webpage
- How to clear cache of a json file in my Godaddy Wordpress website automatically when I update it
- Updated max input vars but table still shows error
- I tried installing Bagisto on a Pi, and I decided to uninstall it. Now, my PHPmyadmin doesn't work
- XAMPP already installed on the MacBook, MySQL and phpMyAdmin not starting
- Can't connect to data base in using PHP in my website
- Troubleshooting Laravel's database connection error
- How can I connect my Android Studio apk to localhost for real Android devices?
- I migrated a PHP server and I'm not able to solve this error below
- "Setting Up Laravel on Windows with XAMPP and Composer: Best Practices?"
- Can't connect docker phpmyadmin with nginx
- Can Eclipse Vert.x support phpmyadmin?
- #2006 - mysql server has gone away XAMPP
- WordPress how to add own PHP code made up of multiple files and an imported package?
Related Questions in XAMPP
- How to isolate PHP apps from each other on a local machine(Windows or Linux)?
- 403 Forbidden Error when accessing any file or path
- I cant access file directory with PHP local host on XAMPP. it just shows one of the files I have in my visual studio code
- Is there a solution to this problem in PHP?
- Updating PHP Version in XAMPP on Windows 10 Without Losing Database: Seeking Optimal Solutions
- how to setup php 8.3 with Apache on Loacl machine(in window 10)
- xampp-windows-x64-8.2.12-0-VS16-installer security issues
- XAMPP already installed on the MacBook, MySQL and phpMyAdmin not starting
- Auto redirect 127.0.0.1:8000 to 127.0.0.1:8000/app/
- Localhost Not Working After Creating Virtual Host in XAMPP
- Deploying a Spring Boot and Angular application on XAMPP on a different server
- Running a program on different computers with different users that access a central database simultaneously - VB.NET XAMPP/MySQL
- Access-Control-Allow-Origin error, even though cors is enabled
- laravel bootstrap/cache write permission
- "Setting Up Laravel on Windows with XAMPP and Composer: Best Practices?"
Related Questions in HTDOCS
- It is possible to set server htdocs directory different from apache24 folder?
- xampp VirtualHost not working in https-vhost.conf
- How can I deploy a Git repository from GitHub to my XAMPP htdocs folder on Windows 10?
- Forbidden You don't have permission to access this resource. Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0 Server at localhost Port 80
- not showing htdocs folders in localhost
- How do i move the xammp folder on my macbook to desktop?
- Problem updating files in htdocs folder of XAMPP server
- Laravel 9 API works with localhost but not with device IP
- SuiteCRM 8.1 Problems Installing Can't Access the Folder 'Public" in Localhost XAMPP Windows
- running php scripts without xampp
- XAMPP not loading CSS files
- Why localhost path is redirecting to web URL?
- htaccess IP to HTTPS redirection on a domain with a special rewrite mod exists
- Deny direct file download from webserver by URL
- XAMPP Apache not working on Ubuntu 20.04.3 LTS
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You can create a .htaccess file in the folders you don't want to be public and inside the .htaccess write the following :