Comment on: Any goats got a moment to help me out with Apache (.htaccess) url rewriting?
0 15 Mar 2020 16:07 u/BillyLuath in v/programmingComment on: Any goats got a moment to help me out with Apache (.htaccess) url rewriting?
Cool beans, glad you got it working.
Comment on: Any goats got a moment to help me out with Apache (.htaccess) url rewriting?
Have you tried: parse_url
Comment on: Any goats got a moment to help me out with Apache (.htaccess) url rewriting?
Yeah, in a different programming language I worked in (not naming it) this is easy as pie, but in PHP, not so much.
I can see why you are focusing on doing rewrites in the .htaccess file instead of just creating a redirect engine that parses all URLs and builds the friendly URL.
Here's an interesting article that explains exactly what you are looking for:
Comment on: Any goats got a moment to help me out with Apache (.htaccess) url rewriting?
I thought it was more for security, by hiding the structure of the application. Search engines have been able to index query strings for over 10 years now.
Comment on: Any goats got a moment to help me out with Apache (.htaccess) url rewriting?
No, you've just replaced the query variables without disrupting the query order.
If the order stays the same, then it doesn't matter what the variable is.
This is an Alias. You're just translating the query.
Comment on: Any goats got a moment to help me out with Apache (.htaccess) url rewriting?
Oh, Argo, what ever happened to him?
Comment on: Any goats got a moment to help me out with Apache (.htaccess) url rewriting?
Forget using .htaccess, create a config.php file, require it once on every request and do your $_GET magic there.
Your talking about aliasing.
Comment on: Any goats got a moment to help me out with Apache (.htaccess) url rewriting?
No link needed, he's asking about rewrite rules.
Comment on: Can you get a job as a self-taught programmer?
I did, and I worked in an office where out of 7 programmers only two had any academic training in it, and only one had a degree.
Company was a startup that went Fortune 500after a few years.
Comment on: Is it possible to transfer software to a new computer?
Normally, you license the use of the software, what hardware you put it on is immaterial. Some licenses (like Adobe), allow you to install on two devices, as long as you only use them one at a time.
Also, there are other software that requires a license for every CPU core, so you can't just make a blanket statement about it.
On top of this, if you don't uninstall correctly, you can violate the validation method of some types of software and then you have a headache trying to reinstall it on something else.
It pays to read the license.
Comment on: Is it possible to transfer software to a new computer?
It depends on the license agreement the the validation method.
Comment on: Stupidest Mistake you've made lately? Here's mine.. Just locked myself out of a new server.
No kidding, if your physical location is hosed, then you are hosed.
Comment on: Stupidest Mistake you've made lately? Here's mine.. Just locked myself out of a new server.
Shoot, I used to do that on a weekly basis... clumsy fingers.
If you're using denyhosts, you can whitelist yourself..
Comment on: Release status : SNAFU
I'm right in the middle of that.
Comment on: Of course, I never do this...
Also, what you are up against is ignorance and hope.
You're dealing with people looking for a solution, but ignorant as to how to find it, they have a hope that you as the programmer owns magic, they are not even listening to what you are saying, every time you speak, the eyes glaze over, they just have hope.
Your only salvation is a really glib salesman to salve over all the disappointment.
Comment on: Of course, I never do this...
This is what you are up against:
https://www.tamingdata.com/wp-content/uploads/2010/07/tree-swing-project-management-large.png
Comment on: Of course, I never do this...
I indentify with that Dilbert, only the bad-mouther was a dweeb with no where near my programming skills.
Guy couldn't SQL in a relational way if his life was in jeopardy..
Comment on: I guess he prefers Ruby
I think what happened was he told his mother he wanted to become a Java developer, so she bought him that book and told him "it's the same thing".
I don't have a lot of experience with IIS deployments so never got into .NET, except to fix problems for someone that had a legacy app.
I actually prefer JSP or Ruby (not RAILS!) over PHP, and one supposedly obsolete language that rocks them all for rapid deployment.