where does mvc stores the association between action method name and view page name? or who is responsible for checking if the there is a view page with name same as action method name?
Hello. I'm working with Microchip's TCP/IP stack and the host name of my device is not being broadcasted, although I can access it using its DHCP assigned IP.
So the question is, what is the protocol that a network device uses to broadcast its host name, so that when I see a list of devices in a network I can identify it by name?
Is it the NetBIOS name service or something else? Thanks in advance.
Say I have my class
@interface Person : NSObject { NSString *name; }
I need to get the name of NSString's within my class
Person *person = [[Person alloc] init];
NSLog(@"Name of variable %s\n", NameofVariable(person.name));
I've got 'no resource found that matches the given name' but everything is set up correctly.
error: Error: No resource found that matches the given name (at 'text' with value '@string/labReminderClear').
In AndroidManifest.xml:
<application android:label="MyName"
.....
In Strings.xml:
<string name="app_name">MyName</string>
...
<string name="labReminderClear">Clear</string>
What could be wrong?
I have the following code:
<%int count = 0; %>
<input type="checkbox" name="Name["'<%count++;%>'"]" />
The name isnt being rendered as expected, its being rendered as name="IssueCreate["''"]" />
How can I correct that?
Starting web server apache2 apache2: bad user name www-data
I just tried restarting my webserver because of an update I did to my php.ini and originally I was getting something about the PID file being overwritten.
Now I just get this: * Starting web server apache2 apache2: bad user name www-data
this has NEVER happened before, and I haven't changed and permissions or apache2 configuration files.
What gives?
Hi,
I am looking to host a website with myname as website name. What is the cost incurred? Do you have any suggestions? What kind of technology support should I see before buying?
Thank you
Bala
In Windows 2003 I was able to change the registry key as follows to display the actualy computer name on the desktop using the Computer Desktop Icon.
System Key: [HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}]
Change "LocalizedString" value to %COMPUTERNAME%
I'm getting access denied messages using regedit for this key and I'm unable to give full rights to this specific key as well as administrator.
Does anyone have a better solution for displaying the computer name on the desktop?
Thanks.
I have this problem I've already posted on the Amazon AWS forum. Unfortunately I haven't got a clear answer I and I was hoping you guys could help. Here's the link: http://developer.amazonwebservices.com/connect/thread.jspa?messageID=198238#198207
Basically I don't know why after associating an Elastic IP address and mapping it to one of my domains, FTP an ping work fine, but HTTP does a 302 redirect to the Amazon AWS hostname I had before associating the Elastic IP address.
Here's the question from the AWS forum:
I have an EC2 instance with HTTP and FTP installed. They both worked.
Then I associated an Elastic IP address to that instance. Then I mapped that IP address to a name which is a subdomain of a domain I own. I think it's an A name (I didn't do the mapping personally). Now FTP works and HTTP doesn't.
The AWS host name before the Elastic IP association: ec2-184-73-27-8.compute-1.amazonaws.com
The AWS IP address and host name after the association: 174.129.7.254 and ec2-174-129-7-254.compute-1.amazonaws.com
The domain which is mapped to 174.129.7.254 using an A record is: demo.flashxml.net
FTP works means that I can connect to both 174.129.7.254, ec2-174-129-7-254.compute-1.amazonaws.com and demo.flashxml.net.
HTTP doesn't work means that a HTTP request to 174.129.7.254, ec2-174-129-7-254.compute-1.amazonaws.com or demo.flashxml.net returns a 302 redirect to ec2-184-73-27-8.compute-1.amazonaws.com
Here is my VirtualHost file:
<VirtualHost *:80>
DocumentRoot /home/ec2-user/public_html/wordpress
ServerName demo.flashxml.net
ErrorLog logs/ec2-user-error_log
<Directory /home/ec2-user/public_html/wordpress>
AllowOverride FileInfo
Order Deny,Allow
Allow from All
</Directory>
</VirtualHost>
I finally figured out what was wrong. It's the fact that I installed Wordpress on the server using the hostname provided by Amazon. After associating the Elastic IP and updating the DNS records, the server was reachable - FTP working was the proof of that.
The 302 redirect when accessing via HTTP was caused by Wordpress's hostname settings.
So, what I've learned from all this was that I should setup my IP and DNS first and only after that install Wordpress or any other web app(s).
So I have a KVM host that also runs an apache server with some yum repos.
The VM guests are connected to the default virtual network, which is configured to offer DHCP and forwarding with NAT on virbr0 (192.168.12.1).
The guests can successfully access the yum repos on the host by IP address, so for example curl 192.168.122.1/repo1 returns the content without problems. But I'd like to have the guests be able to reach the web server on the host by name rather IP address.
I added the desired name record to the host's /etc/hosts file and libvirt's dnsmasq service seems to be serving that correctly to the guests since nslookup and dig successfully resolve the name on the guests:
[root@localhost ~]# nslookup repo
Server: 192.168.122.1
Address: 192.168.122.1#53
Name: repo
Address: 192.168.122.1
[root@localhost ~]# dig repo
; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.17.rc1.el6 <<>> repo
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 55938
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;repo. IN A
;; ANSWER SECTION:
repo. 0 IN A 192.168.122.1
;; Query time: 0 msec
;; SERVER: 192.168.122.1#53(192.168.122.1)
;; WHEN: Tue Sep 17 02:10:46 2013
;; MSG SIZE rcvd: 38
But curl/ping/etc still fail:
[root@localhost ~]# curl repo
curl: (6) Couldn't resolve host 'repo'
While a request via ip address works:
[root@localhost ~]# curl 192.168.122.1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head>
<title>Index of /</title>
[...]
Same with ping:
[root@localhost ~]# ping repo
ping: unknown host repo
[root@localhost ~]# ping 192.168.122.1
PING 192.168.122.1 (192.168.122.1) 56(84) bytes of data.
64 bytes from 192.168.122.1: icmp_seq=1 ttl=64 time=0.110 ms
64 bytes from 192.168.122.1: icmp_seq=2 ttl=64 time=0.146 ms
64 bytes from 192.168.122.1: icmp_seq=3 ttl=64 time=0.191 ms
^C
--- 192.168.122.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2298ms
rtt min/avg/max/mdev = 0.110/0.149/0.191/0.033 ms
I tried adding repo 192.168.122.1 to the guests' /etc/hosts files but still no dice. Also tried changing guests' /etc/nsswitch.conf with both:
hosts: files dns
and
hosts: dns files
I've read the relevant libvirt documentation and I'm not sure where else to learn more about this and be able to move forward with it.
I've never encountered this error before. And secondly I'd like to know how you folks debug your apache configurations.
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
In my Virtual Host configuration I do have these lines:
ServerName example.com
ServerAlias www.example.com
(of course it has my actual info in there)
So I guess my question is, why wouldn’t apache be able to determine my fully qualified domain name?
When you use standard windows open file dialog and start typing it puts files whose name starts with what you type to drop down list. But on another pc with same Windows 7 it also puts first of them into input box in which you type - like FF does with URLS, allowing you to immediately press Enter (without pressing 'Down' to select file).
I don't know why this behavior is different, but I want suggested file name shown in input box.
How could it be achieved?
Thanks.
how do i look for alias name using the WWN in brocade.
Say i have created an alias "CentosNode2Port1"
using switch show i get the WWN ,but how to look for the alias name.
alishow (WWN) is not accepting.
please help
When trying to download a file found on the Microsoft downloads center that starts with, for example, http://download.microsoft.com/download/6/8/7/(some_GUID)/(some_file_name.ext) i get a timeout with "Internet Explorer cannot display the webpage".
More information says:
Internet connectivity has been lost.
The website is temporarily
unavailable. The Domain Name Server
(DNS) is not reachable. The Domain
Name Server (DNS) does not have a
listing for the website's domain. If
this is an HTTPS (secure) address,
click Tools, click Internet Options,
click Advanced, and check to be sure
the SSL and TLS protocols are enabled
under the security section.
Diagnose Connection problems says:
Windows cannot find the host name "download.microsoft.com" using DNS
Bear with me while i expand on the problem:
It all started when i tried to download Windows XP mode for my Windows 7 machine. I went to the virtual PC site, then thru the motions of Windows Genuine Advantage which validated ok, but when it redirects to grab the file just times out with above error.
(NB: i also tried with the latest Chrome and Firefox but no use due to the Genuine Advantage stuff, so i decided to stick with IE).
I am behind an ADSL2+ modem router connecting via wireless (Win 7 Pro laptop); so i hop over to the desktop connected via ethernet (Vista Business), and same result; begin to think site download.microsoft.com site is down. So i give it a break an read up on EDNS, flushing the cache, hosts file, etc...
Try again an hour later on the Win 7 machine, still no go; so i turn off the Win 7 (software) firewall, and lo and behold, i can connect and grab any files from download.microsoft.com; (...nice, so we have a Micro$0ft firewall preventing access to a Micro$0ft website, no wonder my auto-updates kept failing but that's another story).
But i still am not happy that the desktop connected via ethernet still cannot get to download.microsoft.com, even though i turned off all firewalls, defenders, anti-virus, etc. What is so special / specific about the url download.microsoft.com, any other site is ok, including www.microsoft.com.
Any networking guru know what's REALLY going on, and how can i get the desktop to connect?
Ping download.microsoft.com - Ping request could not find host download.microsoft.com. Please check the name and try again.
Ping google.com or even www.microsoft.com works gives me an IP address.
NB: On the wireless laptop ping download.microsoft.com works, i get xxxx.ms.akamai.net [202.7.177.33].
I created 4 instances on OpenStack using euca-run-instances -k Franck -n 4 ami-00000023f.
The created instances have the following instance names (as listed on OpenStack's Horizon web interface)
Server b00b1b04-e9f9-4582-86ca-f5773a465f42-b00b1b04-e9f9-4582-86ca-f5773a465f42
Server 4d765b51-0511-474c-98f0-ef6199a23c7f-4d765b51-0511-474c-98f0-ef6199a23c7f
Server 378964ac-630e-4490-b738-383bed6bacb1-378964ac-630e-4490-b738-383bed6bacb1
Server b00b1b04-e9f9-4582-86ca-f5773a465f42-b00b1b04-e9f9-4582-86ca-f5773a465f42
Is there any way to create an instance with a specified name, or to rename an instance name after it got created?
how do i look for alias name using the WWN in brocade.
Say i have created an alias "CentosNode2Port1"
using switch show i get the WWN ,but how to look for the alias name.
alishow (WWN) is not accepting.
please help
Is there an option or tool that will allow me to change the default naming convention for files copied into the same directory in Windows (XP) and above.
e.g. from: Copy of {name}.{ext} to: {name}.{ext}.copy
Currently:
original_file.php
Copy of original_file.php
Desired:
original_file.php
original_file.php.copy
This would make finding/working with duplicated files much easier (they auto-sort together) and the filetype (by extension) changes thus it can't accidentally "break" something (e.g. if it were a *.java file, upon compiling I would get errors)
Hi Everyone
I'm trying to configure apache 2.2 so that I can use two IPs. One for name based virtual hosts which should all use the same ssl-key and the other one for just one ip based host which should be using an other ssl-key. But it seems that when ever I get either the ip based or name based host to work the other one breaks.
Can someone tell me how to do this on a debian system or at least point me in the right direction?
Thanks
I'm running a rails stack on ubuntu.
When I ps -AF, I get a descriptive process name set by the apache module like
00:00:43 Rails: /var/www...
which is really helpful in diagnosing load issues.
But when I top, the same process show up simply as
ruby
Is there any way to get the ps -AF process name in top?
I am trying to add a new user to my Mac running Mac OS X 10.6.3. When I am in the Accounts screen, I don't see the user listed, but when I try to add it, I get the error message "Name is used by another user". This user name is not listed in /etc/passwd.
Any idea how to get this user really added to the system?
Thanks
I can connect to other computers on my home network (ubuntu + OSX machines) using the IP address, but I can't connect using the netbios name.
On the mac the name appears in Finder but if I try to connect (goconnect to server smb://[email protected]) it doesn't work, while smb://[email protected] does. Same with ssh, ping and afp between the macs.
This is a intermittent problem. It has worked in the past.
Some mail sent from sites on my server bounce back with the following mail.log message
Nov 26 17:27:53 blogu postfix/smtp[16858]: C4DD22908EC0: to=, relay=rejecting-domain.ro[rejecting-ip]:25, delay=2.5, delays=0.1/0/2.3/0.04, dsn=5.0.0, status=bounced (host rejecting-domain.ro[rejecting-ip] said: 550 Access denied - Invalid HELO name (See RFC2821 4.1.1.1) (in reply to MAIL FROM command))
On the receiving end, my emails are logged like this:
2011-11-22 15:09:35 H=static.39.80.4.46.clients.your-server.de (Ubuntu-1004-lucid-64-minimal) [my-server-ip] rejected MAIL : Access denied - Invalid HELO name (See RFC2821 4.1.1.1)
I am having a problem performing maintenance tasks on Microsoft SQL Server 2008 after changing my server name from the original random name given during installation to the one I prefer
This is the error am getting
Could not obtain Information about Windows NT group/users
'WIN-4N4A9TLBGJJ\Administrator', error code 0x534
Is there a way I can fix this problem without having to delete the account and recreating it again?