Dibatalkan

.htaccess error rewriterule with apache

Hello,

in a domain, I have a .htaccess that is configured like this :

RewriteEngine on

RewriteRule ^admin$ /admin/ [R,L]

RewriteRule (.*) [login to view URL]%{REQUEST_URI}?%{QUERY_STRING}&id=7 [P]

in the old server, this is working very well, but in the new server, the rule is going in a loop and it's impossible to come in the website.

When I open the page, I have this error :

Forbidden

You don't have permission to access /sf2/sub/sf2/sub/sf2/sub/sf2/sub/sf2/sub/sf2/sub/sf2/sub/sf2/sub/sf2/sub/sf2/sub/sf2/sub/sf2/sub/sf2/sub/......./sf2/sub/[login to view URL]

As you can see, the rule is calling infinity time !!! and I want only one time. I know that this is nothing to do with .htaccess because this is working well in other server that call the same file.

may be this is apache configuration ? I don't know.

If someone has already has this trouble ? How to fixe it ?

Please answer me only if you know how to fixe it.

Thank you

Kemahiran: Apache, Linux

Lihat lagi: htaccess rewriterule, rewriterule .* - [f], apache custom error page not working, htaccess example, apache errordocument example, apache error messages, apache rewriterule, htaccess redirect, apache installation assigned domain name, htaccess error handling, htaccess environment rewriterule, rewriterule apache qsa lighttpd, apache dynamic sub domain htaccess, google analytics apache redirect alias domain www, lighttpd rewriterule apache, setup htaccess redirects windows apache, rewriterule apache page, htaccess error page creator, htaccess error rewrite url, htaccess redirect windows apache

Tentang Majikan:
( 7 ulasan ) Martigny, Switzerland

ID Projek: #19290423

20 pekerja bebas membida secara purata $76 untuk pekerjaan ini

talhamq

I have experience in deploying and maintaining of: Cloud Computing Platforms: AWS Amazon Web Services,Microsoft AZURE, Google Cloud (GCP). Server Operating Systems: Windows Server 2003-to-2012R2, Windows Ser Lagi

$100 USD dalam 0 hari
(172 Ulasan)
6.1
jbosseu

I have worked as server admin for big names like [login to view URL] and servercentre.net. Can help you with redirects. Let me know.

$45 USD dalam sehari
(130 Ulasan)
5.8
Gauravsingh9828

Hi I can fix the redirection rules of .htaccess and can start work right now I have 5 years of experience as a system admin and can fix it

$50 USD dalam sehari
(112 Ulasan)
5.8
bindmission

Hello Hope you are doing well. I have 6 years of experience in Linux, Apache and Web hosting. I can fix the issue. Regards VishnuLal*

$100 USD dalam 3 hari
(83 Ulasan)
5.7
numerichost

Hi, I will check the issue and will resolve it by fixing permission issue. I have more than 10 Years of expertise as Server Admin. Let's discuss. Thanks !

$55 USD dalam 0 hari
(74 Ulasan)
5.5
ausprofreelancer

Hello I can help you to update your htaccess file and rewrite rules. I have over 21 years of extensive experience with Apache and its modules, including the mod_rewrite module and have completed many projects with iss Lagi

$90 USD dalam 3 hari
(10 Ulasan)
4.4
aniruddh2511

Hello Sir, i have experience with this type of project. and i have also experience, -> PHP, Wordpress, Magento, Opencart, codeigniter, HTML5, CSS3, Javascript, API based Work etc... -> Server handling :- Cpanel,WHM, Lagi

$50 USD dalam 3 hari
(15 Ulasan)
3.8
Torricelli

Hi, i hope you're doing well. I've just read your project's description and i would like to help you with it. I'm an experienced web developer with the necessary htacess and mod rewrite skills for getting this jo Lagi

$35 USD dalam 0 hari
(25 Ulasan)
3.9
caww5

Hi No problems I ready to fix your rediretion rule for new apache server I am an expert in this tell me your version of apache old one and new

$150 USD dalam sehari
(10 Ulasan)
4.1
duythu0211

Hello, nice to meet you! I'm a DevOps Engineer with 3-year experience in Linux, Webserver: Nginx, Apache.. I'm confident to handle this task because it's one part of my daily jobs in office. Feel free to contact me! Lagi

$40 USD dalam 3 hari
(12 Ulasan)
3.1
smrithinns

Hello, I am an RHCE, AWS and cPanel certified systems engineer with expertise in managing Linux servers. I have worked on setting up, configuring and troubleshooting Web servers, Mail servers, Application servers an Lagi

$35 USD dalam 3 hari
(14 Ulasan)
2.9
mohammedhdotio

Hello, I can help you fixing this issue. I will need more details about old apache version and new server apache version. to track this issue . Highest Regards Mohammed H

$35 USD dalam 3 hari
(7 Ulasan)
2.6
mingming46

Oh! I have already faced this issue many times and can fix this very easily in just couple of hrs. I'd love to talk more with you about your needs. Best, Li

$100 USD dalam 3 hari
(2 Ulasan)
2.2
rdmrla

Hello. I can help with your Apache rewrite issues. I'm a senior developer located in India and have more than 10 years of experience of working with and administering Linux and its variants. This seems to be an i Lagi

$50 USD dalam sehari
(2 Ulasan)
1.9
shiningdevelopor

I know the method and can do it How are you. I have read your description carefully. Very Interesting. I have many experiences in server management. So I can finish your project quickly and perfectly If you hire Lagi

$150 USD dalam 3 hari
(1 Ulasan)
2.1
aamirshahzadkp

I am available for your work. I am web host manager since 2016 in Pakistan. I have many managed Servers of my clients. I have best ideas to managed your site and set the proper rule in ,htaccess file. Can you cha Lagi

$30 USD dalam 0 hari
(2 Ulasan)
0.0
bilalkhannexus

Hey there i can fix your issue. if you can give me details of your server so that i will start working.

$66 USD dalam 3 hari
(0 Ulasan)
0.0
faizank4

I will do this within a day

$155 USD dalam sehari
(0 Ulasan)
0.0
jiangjiabao

Hello. I read your project very carefully and I am ready to start working on it. I am an expert with all the skills which you mentioned in your project description. ----------------- If you want I can provide Lagi

$100 USD dalam 3 hari
(0 Ulasan)
0.0
ashishthm

My work involves configuring server and hosting web based apps and websites. I have faced similar issue in the past. lets have a quick chat regarding the server and hosting platform versions that you have.

$77 USD dalam 7 hari
(0 Ulasan)
0.0