How do I configure a jump host to access Windows servers that I have no direct access to?
The Ansible documentation explains how to do this for Linux but doesn't mention how to achieve something similar when using WinRM against Windows servers.
How do I configure a jump host to access Windows servers that I have no direct access to?
The Ansible documentation explains how to do this for Linux but doesn't mention how to achieve something similar when using WinRM against Windows servers.
I have one NGINX acting as reverse proxy. I need to remove a substring string_1 from the URL, the rest of the URL is variable.
Example:
Origin: http://host:port/string_1/string_X/command?xxxxx
Destination: http://internal_host:port/string_X/command?xxxxx
nginx.conf:
location /string_1/ {
proxy_pass http://internal_host:port/$request_uri$query_string;
Thanks,
@pcamacho
I'm trying to implement a reverse proxy with nginx. But with the configuration above what I get is a wrong url in the browser:
http://domain:9080/myLocation/something.html
and what I need is (with no port):
http://domain/myLocation/something.html
Configuration:
location /myLocation {
proxy_set_header Host $host:$server_port;
proxy_set_header X-Real-IP $remote_addr;
proxy_pass http://xptoserver:9080$request_uri;
}
My company is planning one new big web app.
We are expecting around 250K hits per day in the first month.
I'm used to work with large traffic sites, but using Apache and Lighttpd, etc.
But for this project the client want .NET to be the tool. So I'm really sceptic about IIS as Webserver.
What is your advise? Use IIS? How to scale IIS? Is it possible do handle this amount of Traffic? The versions of IIS in Windows 2003 are diferent from the ones in Windows 2008?
Regards,
Pedro
Can I have in one IBM ISeries partitions of HDD with diferent operating systems, example:
1 partition i5/os 2 partition AIX
Regards,
Pedro
I'm trying to block the access of one of my webapps using IP Filter in the .htaccess, the problem is that after updating the file with:
order allow,deny
deny from 58.14.0.0/15
allow from all
I get the folowing error:
Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log.
What is wrong?
Regards,
Pedro
I have one ARCHIVE
table that I simply can't repair, I already try to remove the partitioning but still get this error:
alter table promo_tool_view_44 REMOVE PARTITIONING;
ERROR 1034 (HY000): Incorrect key file for table 'promo_tool_view_44'; try to repair it
I already try to repair the table but I get this reply: repair table promo_tool_view_1;
+-----------------------------+--------+----------+-----------------------------+
| Table | Op | Msg_type | Msg_text |
+-----------------------------+--------+----------+-----------------------------+
| vad_stats.promo_tool_view_1 | repair | error | Partition p1 returned error |
| vad_stats.promo_tool_view_1 | repair | error | Corrupt |
+-----------------------------+--------+----------+-----------------------------+
2 rows in set (0.21 sec)
How can I solve this?
Thanks,
Pedro
I'm trying to log MySQL slow queries, but I can't turn it on, I will explain all my steps:
long_query_time = 1
slow_query_log_file = /home/mysql/slow_queries.log
slow_query_log = 1
chown -R mysql:mysql /home/mysql
/etc/init.d/mysqld restart
I check the MySQL logs and don't find any error during the restart!
I'm maintaing one test Env in my company.
And I'm uptating the test Databases as slaves of the Production ones.
What I need to know is if there is anyaways of updating this specific slave just 1 or 2 times a day, not almost in realtime it is at the moment?
Regards, Pedro
I'm getting a lot of this error in my apache log
itk_post_read(): setgid(): Operation not permitted
What should I do?
Regards,
Pedro
I'm new in apache balancing stuff.
I'm reading the docs in link text
<Proxy balancer://mycluster >
BalancerMember http://192.168.1.50:80
BalancerMember http://192.168.1.51:80
</Proxy>
ProxyPass /test balancer://mycluster/
Thanks,
Pedro
I installed a site on a new Ubuntu server. When I'm downloading something from that site, the server doesn't accept additional connections from that user.
If I click on one link it doesn't respond until the download finishes.
Any idea why this happens in Apache, what in the configuration should I change?
Regards,
Pedro
I have server 1 and Server 2.
In step one there is one script running in server1 that generates one file, after the process of creating the file is finish I need to upload the file to Server 2.
What is the best method and approach?
Thanks, Pedro