Quantcast
Channel: Tricky .htaccess settings
Browsing all 10 articles
Browse latest View live

Tricky .htaccess settings

@raseone wrote: Hello, thanks for looking. I have a decent handle on regular expressions & this is not at all my first time working out sets of rules under htaccess but I’m having some baffling...

View Article



Tricky .htaccess settings

@raseone wrote: I wanted to add that I got this much of it all working together: Options -Indexes Options +FollowSymLinks RewriteEngine On RewriteBase / FORCE HTTPS RewriteCond %{HTTPS} !=on...

View Article

Tricky .htaccess settings

@habilis wrote: RewriteCond directives apply to the next RewriteRule found in the .htaccess file, so the not-file and not-dir conditions were applying to the HTTPS RewriteRule. The result would be...

View Article

Tricky .htaccess settings

@raseone wrote: Yes, thank you. That’s the one conflict that I’ve been able to figure out so far. So silly I just kept looking past it. Is it true that the conditions only apply to the very next...

View Article

Image may be NSFW.
Clik here to view.

Tricky .htaccess settings

@habilis wrote: raseone: Is it true that the conditions only apply to the very next single rule? I had been looking for a way to encapsulate the conditions so they didn’t “leak” out onto subsequent...

View Article


Tricky .htaccess settings

@raseone wrote: Thank you habilis. Well said. Saves me a wild-goose-chase. That was a great suggestion. I was sure it was going to work but… I’ve actually tried adding several variations of the “last...

View Article

Tricky .htaccess settings

@raseone wrote: looks like a nice way to "strip file extensions if you’re ok with the url just being the same thing minus the file extension would look something like: RewriteRule ^([a-zA-Z0-9]+)$...

View Article

Tricky .htaccess settings

@raseone wrote: Something like this works. PRETTY URLS FOR DYNAMIC PAGES RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^item=([a-zA-Z0-9]+)$ item.php?itemname=$1...

View Article


Tricky .htaccess settings

@system wrote: This topic was automatically closed 30 days after the last reply. New replies are no longer allowed. Read full topic

View Article


Tricky .htaccess settings

@system wrote: Read full topic

View Article
Browsing all 10 articles
Browse latest View live




Latest Images