helmut2509 Posted July 19, 2017 Share Posted July 19, 2017 Hello, I have a form for displaying, editing and deleting data of contact persons. The parameters are parts of the url (url segments). As url segments for the template I have entered: new edit delete regex:^edit/[0-9]+ "new" and "edit" work fine, but when I use "delete" I always get an 404 error. Strange thing is that if the url only contains "delete" the script is properly invoked (but cannot process properly without id). However, if the url contains "/delete/123/", then I always get the 404 error. I am really stuck :-( any suggestions? Link to comment Share on other sites More sharing options...
DaveP Posted July 19, 2017 Share Posted July 19, 2017 This may be a bit too obvious, but don't you need a regex:^delete/[0-9]+ entry as well? 2 Link to comment Share on other sites More sharing options...
helmut2509 Posted July 19, 2017 Author Share Posted July 19, 2017 9 minutes ago, DaveP said: This may be a bit too obvious, but don't you need a regex:^delete/[0-9]+ entry as well? Thanks Dave, you are right. when the temperature goes over 30 degrees Celsius (here in Germany), such things can easily happen...... 2 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now