If your URL doesn’t open after you install you magento website , then their may be a possibly that you have ‘Use Web Server Rewrites’ set to Yes in Configuration, uncomment this line from the main .htaccess :
#RewriteBase /magento/