Hi to All,
In my httpd.conf I have create:
Options FollowSymLinks MultiViews
Allow from all
CustomLog /usr1/zend/apache2/logs/mydomain-access.log "combined"
Now if I enter in the browser http://www.mydomain.lan:85/myapp, my PHP page is displayed and all work fine.
My question is:
Isi it possible modify the code in order to open my app with a link like www.mydomain.lan, instead the previous full path ?
If yes, how must modify my code ?
Thank You and Best Regards
That won't be successful.
No, it looks like you've installed Apache on port 85 rather than 80 so you MUST use port 85 to access your localhost. Since you're using a 'nix box rather than WinDoze, I wonder why you did that (WinDoze boxes, like mine, come with IIS preinstalled on port 80 so it must be shut down and its properties set to manual start before installing Apache on port 80).
Once past that problem, Dan's solution will work.
Thank You to All,
I have modified in httpd.conf
And with these changes I be able to run my app with http://www.myapp.lan only
Thank you for that feedback. On WinDoze boxes, I've had to remove and reinstall Apache to get the "service" to register to port 80. I'm glad that Linux does that correctly ... and directly!
This topic is now closed. New replies are no longer allowed.