Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I would like learn about .htaccess file, from the very basic to the complex portions. All its capacities, with blocking user, authentication, hiding files, redirection. So far I have only used them, but I want to learn about them, understand them. So that I will be able to create my own rule.
Could you please guide me through this, and point me to the basic and expert guides or lessons or even books. Anything, from basic to complex.
This page more .htaccess tips and tricks is the best simple introduction to using htaccess for rewriting and redirecting that I've found and it's easier to understand than the official Apache guide. You have to figure everything out from the examples, but it's a good selection of most of the common things you'd want to do, rewrite-wise.
Here an "ultimate" sample htaccess file and Apache's rewriting guide.
Related
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
Is there any list/source/dictionary with examples of a good class names somewhere over the Internet? I'm not looking for naming conventions, but rather for some resource with names and explanations when is proper to use them. I'm finding it somewhat difficult to came up with good names when I'm naming my classes so something like this will be helpfull:
SomethingBuilder - use in such cases...
SomethingRequest - use in such cases...
I suggest to look for repositories of frameworks or projects. They have plenty of classes with some really good names. Examples are symfony, kohana, cakephp, codeigniter, drupal etc... You can search for them on github to reach their repositories.
I know it is not a straight answer to your question but it still may be of help.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Hi Guys i'm currently in the middle of a migration, and need the clients traffic to be sent as a fail save the new url's.
The old domain would have something like olddomain.com/abcd/1234 and i need to redirect that to newdomain.com/?paramenter1=1234¶meter2=ABCD.
This is probably something easy to do and i'm guessing this can be done via a .htaccess request so we can make sure there's no left over traffic. I'm not a developer but i'm a techie and need to advise the client's tech on placing this one since this is actually my idea to help them out.
Any help would be much appreciated!
Thanks in advance!
The following .htaccess rule will redirect http://olddomain.com/abcd/1234 to http://newdomain.com/?paramenter1=abcd¶meter2=1234.
Notice that the two captured groups (defined by parantheses) from the regular expression are numbered from 1 and up. So the first captured group will be accessible in the redirect url as $1 while the second group will be accessible as $2. Please adjust accordingly to your requirements.
RewriteRule ^(.+)/(.+)$ http://newdomain.com/?parameter1=$1¶meter2=$2 [R=301,L]
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I would like to dive into the world of SharePoint, but don't really know where to start. Maybe I haven't searched hard or long enough, but browsing through Stack Overflow gave me very little pointers.
So long story short, does any of you have pointers for me where to begin with learning SharePoint, what to do and maybe more important, what NOT to do...
My background: I have experience in Perl and Java, and I'm fairly new to C#, but still in the process of learning this language.
Thank you in advance!
I would strongly recommend you become at least reasonably fluent with C# before trying something like SharePoint as its not a particularly easy platform to develop for.
Having said that a great place to start is with the channel9 videos take a look here http://channel9.msdn.com/Tags/sharepoint?sort=viewed
Getting Started with SharePoint 2010 DevelopmentāLinks and Resources
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
Does anybody know if there is a fix for Slow HTTP POST Vulnerabity for Apache?
http://www.darkreading.com/vulnerability-management/167901026/security/attacks-breaches/228000532/researchers-to-demonstrate-new-attack-that-exploits-http.html
Here is a tool to test the vulnerabilty:
http://code.google.com/p/slowhttptest/
And here is documentation for Apache Module mod_reqtimeout, which I believe might help:
http://httpd.apache.org/docs/2.3/mod/mod_reqtimeout.html
I believe you can use mod_antiloris to prevent this. There are a number of other ways, but this might be a better solution.
You could use ModSecurity:
For the purposes of identifying RUDY types of attacks, we can add the
following directive to our Apache configs:
RequestReadTimeout header=30, body=30
This places a threshold of 30 seconds to completely receive the
request body data. If the data is not received by that time, Apache
will issue a 408 Request-Timeout status code. With this directive in
place, we then add in some new ModSecurity rules that do the
following:
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 12 years ago.
Improve this question
I'm looking for extremely simple forum software.
Something that simply allows a user to create an account, make a post, and for users to comment on that post.
No HTML, no user profiles, no private message, no bloat. Just software for simple postings. Almost borderline blog software that allows user created accounts.
I've looked at the following software and they have way more features, functionality and bloat than I want:
bbPress (close, but even more simple ... and from the lastest dev post, apparrently bbPress is being dropped for a WordPress plugin)
Vanilla
SMF
PunBB / FluxBB
phpBB
Does anyone know of any good simple forum software?
UPDATE
I just found an example forum that is great in being simple. It's Street Easy's forum. I'd love to know what underlining software they are using. This is nearly exactly what I want. The only thing I'd remove is that it has "Categories/Tags". I don't need that. If the Category/Tag could be removed, functionality - this is exactly what I want.
UPDATE 2
Still no answers :(