We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, thanks in advance. do you know if its possible to replace PATH_INFO with another path variable?.
despite I placed AcceptPathInfo On in httpd.conf what I get is this: Undefined index: PATH_INFO
I tried to create a file rewrite-pathinfo.php with:
<?php if(!empty($_SERVER['PATH_INFO'])) header("Location: ".$_SERVER['PATH_INFO']); $_SERVER['PATH_INFO'] = $_SERVER['REDIRECT_ORIGINAL_PATH']; ?>
and a .htaccess displaying:
php_value auto_prepend_file "C:/Zend/Apache24/htdocs/php-reactjs/rewrite_pathinfo.php" AcceptPathInfo On RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule (.*) /index.php [QSA,L,PT,E=ORIGINAL_PATH:/$1]
But what I get again is this: Notice: Undefined index: PATH_INFO in C:\Zend\Apache24\htdocs\php-reactjs\bootstrap.php on line 11
I cannot know if PATH_INFO is a neccessary setup for reactjs or we can replace it. any help appreciated,
The text was updated successfully, but these errors were encountered:
facing the same issue. Is there any work around to replace PATH_INFO
Sorry, something went wrong.
No branches or pull requests
Hi, thanks in advance. do you know if its possible to replace PATH_INFO with another path variable?.
despite I placed AcceptPathInfo On in httpd.conf what I get is this: Undefined index: PATH_INFO
I tried to create a file rewrite-pathinfo.php with:
<?php if(!empty($_SERVER['PATH_INFO'])) header("Location: ".$_SERVER['PATH_INFO']); $_SERVER['PATH_INFO'] = $_SERVER['REDIRECT_ORIGINAL_PATH']; ?>
and a .htaccess displaying:
But what I get again is this: Notice: Undefined index: PATH_INFO in C:\Zend\Apache24\htdocs\php-reactjs\bootstrap.php on line 11
I cannot know if PATH_INFO is a neccessary setup for reactjs or we can replace it.
any help appreciated,
The text was updated successfully, but these errors were encountered: