No, there isn’t a way to do this with .htaccess. Doing so would present a glaring security hole – imagine someone doing this with a bank’s website!
More Related Contents:
- .htaccess mod_rewrite – how to exclude directory from rewrite rule
- .htaccess redirect all pages to new domain
- convert original URL to friendly URL
- Password protect a specific URL
- htaccess Access-Control-Allow-Origin
- .htaccess Rewrite to Force Trailing Slash at the end
- How to write htaccess rewrite rule for seo friendly url
- What exactly does the Multiviews options in .htaccess?
- htaccess rewrite breaks relative paths
- How to get MAMP to read .htaccess files
- Add Trailing Slash .htaccess
- .htaccess Remove WWW from URL + Directories
- htaccess subdomain
- PHP Rewrite Rules
- Allow/deny image hotlinking with .htaccess
- htaccess redirect if URL contains a certain string
- .htaccess to restrict access to folder
- .htaccess redirect all pages to the homepage on a new domain
- .htaccess redirect – automatically add www. if no subdomain exists
- Ban IPs from text file using htaccess [closed]
- .htaccess URL redirect
- .htaccess redirect without changing address bar
- How do I write a .htaccess file to make CodeIgniters URL routing work?
- Rewrite URL with .htaccess for multiple parameters
- 301 redirect .htaccess
- htaccess code to remove extension AND add+force trailing slash?
- Preserve HTTP/HTTPS protocol in .htaccess redirects
- .htaccess rewrite URL with a question mark “?”
- .htaccess redirect to all IP’s but mine
- How can I fix the ‘Missing Cross-Origin Resource Sharing (CORS) Response Header’ webfont issue?