httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yann Ylavic <ylavic....@gmail.com>
Subject Re: [users@httpd] Viewing the content of a file without extension in the URL
Date Fri, 21 Dec 2018 21:26:44 GMT
Hi,

On Fri, Dec 21, 2018 at 9:58 AM Mahmood Naderan
<nt_mahmood@yahoo.com.invalid> wrote:
>
>     RewriteCond %{REQUEST_URI} !^/index\.php

RewriteCond %{REQUEST_URI} !^\.well-known/acme-challenge/

>     RewriteCond %{REQUEST_URI} !/ow_updates/index\.php
>     RewriteCond %{REQUEST_URI} !/ow_updates/classes
>     RewriteCond %{REQUEST_URI} !/ow_cron/run\.php
>     RewriteCond %{REQUEST_URI} !/ow_cron/run\.php
>     RewriteCond %{REQUEST_URI} !/e500\.php
>     RewriteCond %{REQUEST_URI} !/captcha\.php
>     #RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.xml|\.feed|robots\.txt|\.raw|/[^.]*)$
 [NC]
>     RewriteCond %{REQUEST_FILENAME} (/|\.php|\.html|\.htm|\.xml|\.feed|robots\.txt|\.raw|/[^.]*)$
 [NC]
>     RewriteRule (.*) index.php
>
> How can I fix that so that I can view the content of `8KyeoB4HPzOPR6Et9uBPWoldME6LGIBV3ps`?

Adding the RewriteCond where proposed above should work, hopefully.

Regards,
Yann.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message