Jump to content

Search the Community

Showing results for tags 'subdomain'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to PHP Freaks
    • Announcements
    • Introductions
  • PHP Coding
    • PHP Coding Help
    • Regex Help
    • Third Party Scripts
    • FAQ/Code Snippet Repository
  • SQL / Database
    • MySQL Help
    • PostgreSQL
    • Microsoft SQL - MSSQL
    • Other RDBMS and SQL dialects
  • Client Side
    • HTML Help
    • CSS Help
    • Javascript Help
    • Other
  • Applications and Frameworks
    • Applications
    • Frameworks
    • Other Libraries
  • Web Server Administration
    • PHP Installation and Configuration
    • Linux
    • Apache HTTP Server
    • Microsoft IIS
    • Other Web Server Software
  • Other
    • Application Design
    • Other Programming Languages
    • Editor Help (PhpStorm, VS Code, etc)
    • Website Critique
    • Beta Test Your Stuff!
  • Freelance, Contracts, Employment, etc.
    • Services Offered
    • Job Offerings
  • General Discussion
    • PHPFreaks.com Website Feedback
    • Miscellaneous

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Age


Donation Link

Found 5 results

  1. Hi, I am newbie to htaccess. i am using timthumb for resizing the images RewriteRule ^inner-banner/(.*)\.([jpg|gif|png|JPG|GIF|PNG]+)$ timthumb.php?src=http://mydomain.com/images/banner/$1.$2&h=350&w=960&zc=0 [QSA,L] This gives me the result : http://mydomain.com/inner-banner/myimage.jpg Now i mapped a subdomain to the folder images. http://subdomain.mydomain.com is mapped to the images folder. So now i need to show the above result as http://subdomain.mydomain.com/inner-banner/myimage.jpg i modified the htaccess like RewriteRule ^inner-banner/(.*)\.([jpg|gif|png|JPG|GIF|PNG]+)$ timthumb.php?src=http://subdomain.mydomain.com/banner/$1.$2&h=350&w=960&zc=0 [QSA,L] Expected Result: http://subdomain.mydomain.com/inner-banner/myimage.jpg But it is not coming like that. it shows 404. Kindly help me resolving this issue.
  2. Hello, I have a requirement that I need to access php include files from main domain to sub domain on the same server. I tried giving direct path to the file but still i didnt get. Ex : I have a file in following path: www.example.com/folder/includes/file1.php I need to include this file1.php in my subdomain in a index file that is www.subdomain.example.com/index.php Please help me to resolve this.
  3. I'm trying to display products specific to a geographic location on the website. E.g. If a user selects city1 then my website url should change to city1.mysite.com. So the city1 part is dynamic on user selection. Please let me know how this is to be achieved and if this includes mod-rewrite or subdomains for each location. Thanks in advance.
  4. I had the "pictures" folder in http://xyz.com root directory and the album pictures were displaying correctly based on the below code : define('DOCUMENT_ROOT_PATH',$_SERVER['DOCUMENT_ROOT'].'/'); define('COMING_UP_PICTURES',DOCUMENT_ROOT_PATH.'/'); define('COMING_UP_PICTURES_GALLERY','pictures'); define('RECENT_HISTORY',DOCUMENT_ROOT_PATH.'/'); define('RECENT_HISTORY_GALLERY','pictures'); I recently created http://static.subdomain.com and moved the "pictures" folder into this subdomain, now the pictures wont display. Please help!
  5. I have recently restructed my local web server and implemented VirtualHosts for using a subdomain. Currently the public_html is the directory for my domain and dev.domain.com lands in the dev directory, this is all working correctly. however, when I am working in my index.html in the dev directory and call for layout.css which is in static, it retreived the layout.css from the static folder in public_html/ and not the static directory in dev. How can I get around this issue? I have included the directory structure before if that helps. Sorry if my wording for explaining this is confusing. -root --public_html ---static ---etc --subdomains ---dev ----static ----etc ---fate Is the block in the vhost conf NameVirtualHost *:80 <VirtualHost *:80> serverName domain.com DocumentRoot "E:\root\public_html" </VirtualHost> NameVirtualHost *:80 <VirtualHost *:80> ServerName dev.domain.com ServerAlias dev.domain.com DocumentRoot "E:\root\subdomains\dev" <Directory "E:\root\subdomains\dev"> AllowOverride All order allow,deny Allow from all </Directory> </VirtualHost>
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.