htaccess tag

29 questions


3 answers
107 views
0
Unrestrict open_basedir

When I try to run a PHP script, I get the following error: WARNING: is_readable() [function.is-readable]: open_basedir restriction in effect. File(/usr/share/php/Am/View/Helper/HeadScript.php) is not...

2 years ago

3 answers
82 views
0
Unrestrict open_basedir

When I try to run a PHP script, I get the following error: WARNING: is_readable() [function.is-readable]: open_basedir restriction in effect. File(/usr/share/php/Am/View/Helper/HeadScript.php) is not...

2 years ago

3 answers
93 views
0
I want to set up a setting that does not transfer only certain directories.

Thank you for your help.I would like to set up a setting that does not transfer only certain directories, but the following description of htaccess does not work.I don't transfer only the word press m...

2 years ago

1 answers
66 views
0
301 Redirect Code Writing Instructions

301 I am trying to find out how to write the redirect code, but I have some questions.The sample is to redirect http://example.com to http://www.example.comRewriteEngine onRewriteCond%{HTTP_HOST}^exam...

2 years ago

2 answers
90 views
0
I want PHP to dynamically control the IP address of .htaccess

Current State·Debug.php is set to be accessible only from the IP address of the administrator(Provider contract with irregular IP address changes)·If the IP address is changed, you will not be able to...

2 years ago

1 answers
59 views
0
Redirect destination is different depending on the presence or absence of a trailing slash.

I am trying to redirect it by writing it in .htaccess.The directory configuration is as follows, and the URL is accessible by /site/aaa or /site/bbb.site └-- aaaa directory └-- bbbb directoryWhat do y...

2 years ago

2 answers
65 views
0
I have a question about creating a .htaccess file.

I'd like to redirect the mirror site to a legitimate site with .htaccess.When I created it in the htaccess editor, I was told that the answer in the Search Console forum would not work.<Files~^\.(h...

2 years ago

2 answers
132 views
0
To detect https in htaccess on Sakura server

It may not be something to ask here.Sakura Server introduces its own ssl and wants to be unified with https and www, so I write redirects in htaccess.Redirect from http to httpsRewriteCond%{ENV:HTTPS}...

2 years ago

1 answers
62 views
0
[mod_rewrite] I don't want to open anything other than the specified file even if I access it with ".php".

Thank you for your help.The site you are currently managing is For example http://example.com/files/contentIn response to the request, you can use .htaccess.RewriteRule^files/([0-9A-Za-z_)]+)$1.php[QS...


1 answers
59 views
0
Redirect Loop Occurs in Wordpress

I would like to redirect the site with ?amp at the end of url when I access it with my smartphone, but when I access it with my smartphone, there is a loop.Could you tell me where the problem is?The c...

2 years ago
« - 2 - »

© 2024 OneMinuteCode. All rights reserved.