|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|
|||
httpd features ?
Hello
So I am trying to figure out how to switch my website to the new openbsd httpd. Honnestly, this is great ! I have a sane and minimalist base. But I am missing some good thing from nginx and wonder if I can get them. I like nginx redirections ! Maybe they can be set even better... Someone knows how to make them ? Code:
location ~* ^/([0-9]+)/([0-9]+)/([0-9]+)/(.+)/$ { try_files $uri $uri/ /$1/$2/$3/; } What about the error page also ? In nginx with have this : Code:
error_page 404 /404.html; location /404.html { internal; } |
|
|||
yes, I have checked the man page. This is why I don't ask you about php : I have already succeed with php running !
These regular expressions are from nginx config'. What I want to do do is to go through the url in that way : http://www.server.tld/year/month/day/article/index.html If the article name is wrong, then go to the day folder, if the day folder is wrong go to the month, then to the year... |
|
|||
|
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
what missing features do you think *BSD should provide ? | daemonfowl | Other OS | 21 | 22nd April 2013 08:03 AM |
PHP 5.4.0 brings new features | J65nko | News | 0 | 3rd March 2012 09:41 AM |
Security Joomla! 2.5 adds new features, closes holes | J65nko | News | 0 | 24th January 2012 10:54 PM |
How add additional features on xterm ( Xfce ) ? | aleunix | OpenBSD Packages and Ports | 4 | 5th June 2008 02:18 PM |