Web Hosting & Ecommerce Puerto Rico

 


 

  Preguntas y Respuestas 




MAY 19

 How can I set custom 404's for ASP/.NET?

  Colocado por Webmaster PRMWD on May 19, 2010 4:14 PM as Hosting a site in PRMWD




How can I set custom 404's for ASP/.NET?

 

Custom 404's can be set for ASP and .NET sites by adding the below code to the bottom of the web.config file before the final </configuration>. You will need both options to redirect all 404's.


Classic ASP and Static Content

<configuration>
  <system.webServer>
         <httpErrors errorMode="DetailedLocalOnly" defaultPath="/404.asp" defaultResponseMode="ExecuteURL">
            <remove statusCode="404" subStatusCode="-1" />
            <error statusCode="404" prefixLanguageFilePath="" path="/404.html" responseMode="ExecuteURL" />
         </httpErrors>
  </system.webServer>
</configuration>

.NET

<configuration>
  <system.web>
    <customErrors defaultRedirect="404.aspx" mode="DetailedLocalOnly">
      <error statusCode="404" redirect="404.aspx"/>
    </customErrors>
  </system.web>
</configuration>


This exampled shows 404's for all content redirecting to index.html:

<configuration>
  <system.webServer>
         <httpErrors errorMode="DetailedLocalOnly" defaultPath="/index.html" defaultResponseMode="ExecuteURL">
            <remove statusCode="404" subStatusCode="-1" />
            <error statusCode="404" prefixLanguageFilePath="" path="/index.html" responseMode="ExecuteURL" />
         </httpErrors>
  </system.webServer>
     <system.web>
                 <customErrors mode="On">
                     <error statusCode="404" redirect="/index.html" />
                </customErrors>
     </system.web>
</configuration>

comentario (0)



MAY 19

 How can I define mime types on my Windows/IIS based site?

  Colocado por Webmaster PRMWD on May 19, 2010 4:11 PM as Hosting a site in PRMWD




 

 


How can I define mime types on my Windows/IIS based site?

 

You can use a web.config file with the following:

<configuration>
    <system.webServer>
        <staticContent>
            <mimeMap fileExtension=".EXTENSION" mimeType="MIME/TYPE" />
     </staticContent>
    </system.webServer>
</configuration>


Example:

<configuration>
    <system.webServer>
        <staticContent>
            <mimeMap fileExtension=".test" mimeType="text/html" />
     </staticContent>
    </system.webServer>
</configuration>

    
        
            
     
    



comentario (0)



MAY 17

 Uploading content to a website using FTP

  Colocado por Webmaster PRMWD on May 17, 2010 12:00 PM as Hosting a site in PRMWD




Uploading content to a website using FTP

 

Pre-reqs

  • A primary or secondary ftp account for the website. Reference -
  • Access to a ftp client such as :
    • A command line Linux ftp client
    • An open source tool like WinSCP (used in this article) or FileZilla
    • Windows and Mac users can also use Expan Driver to map FTP storage location as a local drive.

Procedure

  • Get the ftp server address by logging to the Service Control Panel. Navigate to Hosting->Cloud Sites. Click on General Settings tab. The address for the ftp server and alternate ftp server is available in the "Edit your Site" section.
NOTE: The primary server is available only if the domain is an active registered domain.
ftpcontent4a.jpg
  • Get the IP address of the ftp server by logging on to the Services Control Panel . Navigate ...

>> full

comentario (0)



MAY 17

 Install and use Joomla en PRMWD Hosting

  Colocado por Webmaster PRMWD on May 17, 2010 12:00 PM as Hosting a site in PRMWD




Install and use Joomla

 

(Redirected from Joomla)

Pre-reqs

  • Administrative access to the Rackspace Cloud to create domains and add databases
  • Joomla software from http://www.joomla.org/download.html uncompressed in a local repository
  • Ftp access to website, and a ftp client like ExpanDrive in order to use the ftp method of uploading files (optional)

Procedure

  • Login to the Hosting Contro Panel
    NOTE: The domain must have php enabled, and database feature selected. The database feature can be added by using the CHANGE PLAN hyperlink on the domain General Settings tab.
  • Upload the Joomla files to the desired location on the website using FTP -
    • To integrate Joomla to the root of domain (e.g. http://cloudsighting.com/), place all contents of the unzipped Joomla directory (but excluding the directory itself) into the root directory of /web/content/.
    • To have the Joomla installation in its own ...

>> full

comentario (0)



MAY 17

 CakePHP

  Colocado por Webmaster PRMWD on May 17, 2010 12:00 AM as Hosting a site in PRMWD




CakePHP

 

This article will show you how to install CakePHP 1.2.x onto your site with Cloud Sites. Please note that this article assumes you have already selected PHP as your default technology, you have already setup a MySQL database in the control panel and have uploaded the CakePHP application files to your site in the "content" directory.

Pre-Requisites

Please see the following articles on how you change your default technology, add a MySQL database, and connect to FTP:

  • How do I change my site's default technology?
    How do I add a MySQL database to my site?
    How do I add content to my websiteInstall Steps
  1. On the .htaccess file located in the "content" directory. After "RewriteEngine on" add a new line and add "RewriteBase /" to .htaccess file. Save the file back to the site. You will need to repeat this step ...

>> full

comentario (0)




[FIRST]  [PREV]  ... 1 2 [3] 4 5 6 ...  [NEXT]  [LAST]
11 - 15 of 40








 


Temas Recientes


 Instalar el certificado SSL en servidor 

 Generate a CSR 

 Prerequistos de Instalacion SSL 

 Quiero denuciarlo me robo mi dominio 

 Tips para que no caiga de tonto 


Temas


 Dominio (3)

 Hosting a site in PRMWD (18)

 MS SQL (4)

 php (1)

 RedHat (1)

 Servcio Garantia Servidores PRMWD (2)

 Servers (5)

 Servers for Windows (2)

  SSL (Certificados Seguridad) (4)


Buscador




Archivo


 august 2010

 july 2010

 may 2010

 february 2010

 january 2010





admin*