Skip to main content

Questions tagged [htaccess]

0 votes
0 answers
60 views

I have a website which needs to be changed from Nginx to Apache webserver. The index directory is nl.html but the HTML extension is removed from the address bar. If I visit the website example.com it ...
Noob's user avatar
  • 161
1 vote
2 answers
531 views

I am trying to create Apache virtualhost that is closed for all IP addresses with exception of one IP address and two URLs that should be publicly accessible. <IfModule mod_ssl.c> <...
jnemecz's user avatar
  • 161
0 votes
1 answer
627 views

I have downloaded confluent software for upgrade under /var/www/html directory. I need to create an index.html for directory listing for each directory. I tried adding below to .htaccess file in the ...
adbdkb's user avatar
  • 103
-1 votes
2 answers
166 views

What I want to Achieve is: I want to be able to display the (mp4 | jpg | ico) file types and execute the (js | css) file types on the browser only on my domain but I dont want them to directly access ...
genesis lubrigas's user avatar
2 votes
1 answer
2k views

I am in the process of migrating an Apache WordPress site from CentOS7 to AlmaLinux9. I installed standard LAMP stuff on the AlamLinux9 system, and restored the MySQL and copied over the html ...
TexasTim's user avatar
0 votes
0 answers
66 views

i've got a Netgear Readynas 212 and I'm trying to set up a directory isting for a share. Shares are located in /data/, where /data/share/ is the folder supposed to be listed. On the NAS initial Share ...
BlackArch.py's user avatar
0 votes
0 answers
93 views

Simply I am trying to prevent access to all pdf files on my server from being reached and downloaded using URL Eg https://domain.com/test.pdf . What I succeed to do is : to prevent indexing them, but ...
MertHaddad's user avatar
0 votes
1 answer
328 views

I am only able to use .htaccess so <Location> and <Directory> are not possible. I am currently using this to block access by IP: <RequireAll> Require all granted Require not ip 1....
Jonas Eberle's user avatar
0 votes
1 answer
48 views

I have multiple cpanel websites with this file/dir structure: /home/user0/public_html/.htaccess /home/user1/public_html/.htaccess /home/user2/public_html/.htaccess etc.. And would like to add (not ...
Hueznar's user avatar
  • 15
1 vote
1 answer
538 views

It seems that the .htaccess file for one of my virtual hosts is being ignored on my production server. The file is identical to working .htaccess files for other vhosts on the same server. Also, the ...
dcorsello's user avatar
  • 131
0 votes
0 answers
165 views

I've set up a reverse proxy on my vps by placing the following .htaccess file under /var/www/html/ecommerce/app. DirectoryIndex disabled RewriteEngine On RewriteRule ^(.*)$ http://127.0.0.1:3000/$1 [...
Logan Lee's user avatar
  • 259
0 votes
0 answers
1k views

someone please tell me why this doesn't work in .htaccess? #grant access if word-processing format <FilesMatch "\.([Pp][Dd][Ff]|[Dd][Oo][Cc][Xx]?|[Rr][Tt][Ff]|[Oo][Dd][Tt]|[Tt][Xx][Tt]|[Ww][Pp]...
RussH's user avatar
  • 1
-1 votes
1 answer
94 views

I'm trying to solve a problem with .htaccess. I have this lines in my .htaccess, but the website still have a "with slash" version. Sorry, it's an erotic page https://carlamila.es/...
Jordi Webmaster's user avatar
-1 votes
2 answers
116 views

I got a headache with URLS after change them on one of my websites. The URLs were very long and I decided to change them despite the later change via .htacces... I'm making the change one by one (I ...
Jordi Webmaster's user avatar
0 votes
1 answer
624 views

I have cPanelA with website A...with subdomain A1 - all is working correctly. I have created a new cPanelB with website B...and need to move subdomain A1 over to cPanel B as subdomain B1. Website B is ...
rolinger's user avatar
  • 175

15 30 50 per page
1
2 3 4 5