mirror of
				https://github.com/Alamantus/Lexiconga.git
				synced 2025-11-03 17:57:00 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
	
		
			656 B
		
	
	
	
		
			ApacheConf
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
	
		
			656 B
		
	
	
	
		
			ApacheConf
		
	
	
	
	
	
RewriteEngine On    # Turn on the rewriting engine
 | 
						|
 | 
						|
RewriteRule    ^view/([0-9]+)/([0-9]+)/?$    index.php?dict=$1&word=$2    [NC,L]    # Handle word ids.
 | 
						|
 | 
						|
RewriteRule    ^([0-9]+)/([0-9]+)/?$    index.php?dict=$1&word=$2    [NC,L]    # Handle word ids.
 | 
						|
 | 
						|
RewriteRule    ^view/([0-9]+)/?$    index.php?dict=$1    [NC,L]    # Handle dictionary ids.
 | 
						|
 | 
						|
RewriteRule    ^([0-9]+)/?$    index.php?dict=$1    [NC,L]    # Handle dictionary ids.
 | 
						|
 | 
						|
RewriteRule ^issues/?$ https://github.com/Alamantus/Lexiconga/issues [R=301,L] # Shorten issues url.
 | 
						|
 | 
						|
RewriteRule ^updates/?$ https://github.com/Alamantus/Lexiconga/releases [R=301,L] # Shorten updates url.
 |