Jump to content

Using Variables within .htaccess (not mod_rewrite)


Xeoncross

Recommended Posts

 

Is it possible to create a temporary variable for use within a .htaccess file? I ask because I type a certain term (that changes) 5+ times in different parts of the file and I would rather just define it once and use that variable in the rest of the .htaccess file.

 

Note: I am NOT talking about rewriting a URL to pass a variable.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.