perra
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: localhost home web serverSolution:
These next pages provided a solution that worked for me in setting up virtual hosts. The last page includes a specific solution for WP. Hope it can help someone.Virtual hosting and PHP for local develpment
http://techpatterns.com/forums/about405.htmlApache Webserver :: MySQL etc.
http://techpatterns.com/forums/forum-17.htmlApache 2.0.50,PHP 4.3.8,mod_rewrite and WordPress 1.5????
http://techpatterns.com/forums/about376.htmlForum: Fixing WordPress
In reply to: localhost home web serverThanks Moshu for the previous help tips.
Forum: Fixing WordPress
In reply to: localhost home web serverReplacing the ip address for the localhost in the Options > General worked (e.g. http//your-ip/WPname instead of http//localhost/WPname), Thanks All.
Next, since the router is a dhcp server and randomly (dynamically) assigns the internal local ip address which can change at any time (e.g. on router reboot after reconfiguration of network machines and/or other hardware), which would be the best approach to solving this part of the configuration? Options:
1. Through ip based virtualhost in the Apache httpd configuration file, e.g.
#NameVirtualHost 192.168.1.XX
#<VirtualHost 192.168.1.xx>
ServerName Whatever
DocumentRoot C:/WhereverApacheResides/htdocs
#</VirtualHost>or
2. Through name based virtualhost in the Apache httpd configuration file, e.g.
#NameVirtualHost *:80
#<VirtualHost *:80>
ServerName Whatever
DocumentRoot C:/WhereverApacheResides/htdocs
#</VirtualHost>or
3. Some other solution?
Note: Directives commented out, just in case!!! For use they would need to be uncommented. (For other users getting started).
Again, Thanks in Advance